R/get_ontology_github.R
get_ontology_github.Rd
Get ontology from GitHub and import it via import_ontology.
<...>Any ontology name from get_ols_options
"hpo" Import the Human Phenotype Ontology. GitHub.
Repository name in format "owner/repo". Defaults to guess_repo()
.
File type to search for.
Can be one of the following:
"ontology"Creates an ontology_DAG R object by importing the OBO file directly from the official uPheno GitHub repository.
"bestmatches"Returns a merged table with the best matches between human and non-human homologous phenotypes (from multiple species). Distributed by the official uPheno GitHub repository.
"upheno_mapping"Return a merged table with matches between human and non-human homologous phenotypes (from multiple species). Distributed by the Monarch Initiative server.
tag for the GitHub release to which this data should be attached.
Directory to save a file to.
If TRUE, force a new download.
Arguments passed on to simona::import_ontology
verbose
Whether to print messages.
robot_jar
The path of the robot.jar
file. It can be downloaded from https://github.com/ontodev/robot/releases.
Internally, the file is converted to the obo format and parsed by import_obo()
. The value of robot_jar
can be
set as a global option simona_opt$robot_jar = ...
.
JAVA_ARGS
Options for java
. For example you can set -Xmx20G
if you want to increase the memory to 20G for java.