Description Usage Arguments Value Examples
Checks each ID across "DO", "GO", "KEGG", "MKEGG" and "REACTOME" databases and returns the database name.
1 | detectOntoDB(ontology.id, NA.if.no.match = TRUE)
|
ontology.id |
A character vector with ontology IDs |
NA.if.no.match |
If an ID is not present across all databases, corresponding element of vector will be assigned as NA (default: TRUE). If FALSE, function will throw an error and stop. |
A character vector with the name of the databases.
1 2 3 4 5 6 7 8 | ontology.ids <- lapply(sample_data, function(x){head(x$ID, 3)})
ontology.ids <- do.call(c, ontology.ids)
ontology.ids
detectOntoDB(ontology.ids)
ontology.ids2 <- c(ontology.ids[1:3], "random-id-here")
ontology.ids2
detectOntoDB(ontology.ids2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.