Load the HPO as a precomputed graph.

load_hpo_graph(
  file = "hpo_igraph.rds",
  tag = "latest",
  save_dir = tools::R_user_dir(package = "MultiEWCE", which = "cache")
)

Source

phenos <- HPOExplorer::make_phenos_dataframe(ancestor="All") g <- HPOExplorer::make_igraph_object(phenos = phenos) f <- file.path(tempdir(),"hpo_igraph.rds") saveRDS(g,file = f) piggyback::pb_upload(file = f, tag = "latest", repo = "neurogenomics/MultiEWCE")

Arguments

file

File to load.

tag

tag for the GitHub release to which this data should be attached.

save_dir

Where to store the file locally.

Value

graph object

Examples

g <- load_hpo_graph()