Skip to content

Documentation for DeVries score #396

@pnrobinson

Description

@pnrobinson

https://monarch-initiative.github.io/gpsea/stable/user-guide/analyses/partitioning/phenotype/devries.html

The documentation should have a complete example or a link to this page: https://monarch-initiative.github.io/gpsea/stable/user-guide/analyses/phenotype-scores.html

from gpsea.analysis.pscore import DeVriesPhenotypeScorer
from gpsea.analysis.pscore.stats import MannWhitneyStatistic
from gpsea.analysis.pscore import PhenotypeScoreAnalysis

score_statistic = MannWhitneyStatistic()
score_analysis = PhenotypeScoreAnalysis(
    score_statistic=score_statistic,
)

pheno_scorer = DeVriesPhenotypeScorer(hpo)
result = score_analysis.compare_genotype_vs_phenotype_score(
    cohort=cohort,
    gt_clf=missense_clf,
    pheno_scorer=pheno_scorer,
)
result.pval

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions