Prepare CORUM annotations, reusing the common cache and species/identifier conversion pipeline.
Usage
PrepareCORUM(
species = c("Homo_sapiens", "Mus_musculus"),
db = "CORUM",
db_IDtypes = c("symbol", "entrez_id", "ensembl_id"),
db_version = "latest",
db_update = FALSE,
data_dir = NULL,
convert_species = TRUE,
Ensembl_version = NULL,
mirror = NULL,
biomart = NULL,
max_tries = 5,
verbose = TRUE,
...
)Arguments
- species
"Homo_sapiens"or"Mus_musculus".- db
Character selector; must be
"CORUM".- db_IDtypes
Gene ID types to include.
- db_version
Database version to retrieve.
- db_update
Force a refresh.
FALSEloads the cache when available.- data_dir
Directory or named list of local source files. Searches
data_dir/<db>/thendata_dir. Named lists override a path, e.g.list(MSigDB = "~/db/msigdb").- convert_species
Use a species-converted database when the annotation is missing for
species.- Ensembl_version
Ensembl version.
NULLuses the latest.- mirror
Specify an Ensembl mirror to connect to. The valid options here are
"www","uswest","useast","asia".- biomart
BioMart database that you want to connect to. Possible options include
"ensembl","protists_mart","fungi_mart", and"plants_mart".- max_tries
The maximum number of attempts to connect with the BioMart service.
- verbose
Whether to print the message. Default is
TRUE.- ...
Passed to helper functions.
Value
A named species list containing the selected databases. Annotation
entries contain TERM2GENE, TERM2NAME and version.
Examples
if (FALSE) { # \dontrun{
databases <- PrepareCORUM(species = "Homo_sapiens", db = "CORUM")
names(databases[["Homo_sapiens"]])
} # }