View source: R/annotation_biomart.R
find_working_mart | R Documentation |
In my experience, the various biomart mirrors are not varyingly likely to be functional at any given time. In addition, I often find it useful to use an archive instance rather than the most recent ensembl instance. This function therefore iterates over the various mirrors; or if archive = TRUE it will try a series of archive servers from 1, 2, and 3 years ago.
find_working_mart(
default_hosts = c("useast.ensembl.org", "uswest.ensembl.org", "www.ensembl.org",
"asia.ensembl.org"),
trymart = "ENSEMBL_MART_ENSEMBL",
archive = FALSE,
year = NULL,
month = NULL
)
default_hosts |
List of biomart mirrors to try. |
trymart |
Specific mart to query. |
archive |
Try an archive server instead of a mirror? If this is a character, it will assume it is a specific archive hostname. |
year |
Choose specific year(s) for the archive servers? |
month |
Choose specific month(s) for the archive servers? |
Either a mart instance or NULL if no love was forthcoming.
[biomaRt::useMart()] [biomaRt::listMarts()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.