BNMPy.phenotype_score¶
- BNMPy.phenotype_score.get_phenotypes(file_path='/home/runner/work/BNMPy/BNMPy/KG_files/significant_paths_to_phenotypes.txt')[source]¶
- BNMPy.phenotype_score.proxpath(genes, phenotypes=['APOPTOSIS', 'DIFFERENTIATION', 'PROLIFERATION'], file_path='/home/runner/work/BNMPy/BNMPy/KG_files/significant_paths_to_phenotypes.txt')[source]¶
This function is used to get the phenotype score for a given list of genes and phenotypes using ProxPath. Args:
genes: list of genes phenotypes: list of phenotypes file_path: path to the ProxPath file
- Returns:
pheno_df: dataframe with the phenotype score
- BNMPy.phenotype_score.phenotype_scores(phenotypes=['APOPTOSIS', 'DIFFERENTIATION', 'PROLIFERATION'], file_path='/home/runner/work/BNMPy/BNMPy/KG_files/significant_paths_to_phenotypes.txt', genes=None, simulation_results=None, network=None, reversed=False)[source]¶
Calculate phenotype scores for given genes and phenotypes using ProxPath. If simulation_results is not provided, it will return the formula to calculate the score. Otherwise, it will return the phenotype score directly as a DataFrame.