map_species | R Documentation |
Search gprofiler
database for species
that match the input text string.
Then translate to a standardised species ID.
map_species(
species = NULL,
search_cols = c("display_name", "id", "scientific_name", "taxonomy_id"),
output_format = c("scientific_name", "id", "display_name", "taxonomy_id", "version",
"scientific_name_formatted"),
method = c("homologene", "gprofiler", "babelgene"),
remove_subspecies = TRUE,
remove_subspecies_exceptions = c("Canis lupus familiaris"),
use_local = TRUE,
verbose = TRUE
)
species |
Species query
(e.g. "human", "homo sapiens", "hsapiens", or 9606).
If given a list, will iterate queries for each item.
Set to |
search_cols |
Which columns to search for
|
output_format |
Which column to return. |
method |
R package to use for gene mapping:
|
remove_subspecies |
Only keep the first two taxonomic levels: e.g. "Canis lupus familiaris" –> "Canis lupus" |
remove_subspecies_exceptions |
Selected species to ignore when
|
use_local |
If |
verbose |
Print messages. |
Species ID of type output_format
ids <- map_species(species = c(
"human", 9606, "mus musculus",
"fly", "C elegans"
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.