Generate multiple kinds of plots summarising mappings of phenotypes and genes between the HPO and various non-human ontologies within uPheno.

plot_upheno(
  pheno_map_genes_match = NULL,
  filters = list(db1 = "HP", gene_taxon_label1 = "Homo sapiens"),
  types = c("rainplot", "scatterplot", "heatmap"),
  ...
)

Arguments

pheno_map_genes_match

uPheno cross-species mapping data generated by map_upheno_data. pheno_map_genes_match by.

filters

A named list, where each element in the list is the name of a column in the data, and the vector within each element represents the values to include in the final data.

types

A character vector of plot types to generate.

...

Arguments passed to plotting functions.

Value

A named list of ggplot2 objects.

Examples

if (FALSE) { # \dontrun{
pheno_map_genes_match <- map_upheno_data()
upheno_plots <- plot_upheno(
  pheno_map_genes_match = pheno_map_genes_match)
} # }