Plot the distribution of evidence scores for gene-disease and gene-phenotype associations.
plot_evidence(
metric = "evidence_score_sum",
phenotype_to_genes = load_phenotype_to_genes(),
show_plot = TRUE,
save_path = NULL,
height = NULL,
width = NULL
)
Aggregated metric of evidence to assess.
Output of load_phenotype_to_genes mapping phenotypes to gene annotations.
Show the plot.
Path to save interactive plot to as a self-contained HTML file.
Height of the heatmap body.
Width of the heatmap body.
out <- plot_evidence()
#> Gathering data from GenCC.
#> Importing cached file.
#> Evidence scores for:
#> - 10509 diseases
#> - 5165 genes
#> + Version: 2024-05-22
#> Gathering data from GenCC.
#> Importing cached file.
#> Evidence scores for:
#> - 10509 diseases
#> - 5165 genes
#> + Version: 2024-05-22
#> Reading cached RDS file: phenotype_to_genes.txt
#> + Version: v2024-04-26
#> Annotating gene-disease associations with Evidence Score
#> Annotating phenos with Disease
#> Reading cached RDS file: phenotype.hpoa
#> + Version: v2024-04-26
#> Gathering data from GenCC.
#> Importing cached file.
#> Evidence scores for:
#> - 10509 diseases
#> - 5165 genes
#> + Version: 2024-05-22
#> Constructing HPO gene x phenotype matrix.
#> Annotating gene-disease associations with Evidence Score
#> Annotating phenos with Disease
#> Reading cached RDS file: phenotype.hpoa
#> + Version: v2024-04-26
#> Gathering data from GenCC.
#> Importing cached file.
#> Evidence scores for:
#> - 10509 diseases
#> - 5165 genes
#> + Version: 2024-05-22
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.