Given a species name, it checkes whether is supported, and if supported, check whether the annotation package is installed.

artmsIsSpeciesSupported(species, verbose = TRUE)

Arguments

species

(char) The species name. Species currently supported as part of artMS:

  • HUMAN

  • MOUSE

And the following species can be used as well, but the user needs to install the corresponding org.db package:

verbose

(logical) TRUE (default) shows function messages

Value

(string) Name of the package for the given species

Examples

# Should return TRUE artmsIsSpeciesSupported(species = "HUMAN")
#> [1] "org.Hs.eg.db"
artmsIsSpeciesSupported(species = "CHIMP")
#> ---(-) The package <org.Pt.eg.db> is not installed in your system. #> Just run: install.packages('org.Pt.eg.db') and try again
#> [1] FALSE