connect_biomart | R Documentation |
BioMart
connect_biomart()
creates a connection object of class ConnectionBiomart
which contains
the biomaRt
object of class biomaRt::Mart
and the prefix of the object
which is used downstream for the query.
connect_biomart(prefix = c("ENSG", "GeneID"), version = NULL)
prefix |
( |
version |
( |
This connects to the Ensembl
data base of BioMart
for human genes.
A specific version can be optionally chosen to ensure reproducibility of results
once a new release is available, as accessed data might then change.
ConnectionBiomart
object.
if (interactive()) {
connection <- connect_biomart("ENSG")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.