Description Usage Arguments Author(s) Examples
Lists or search the datasets available in the selected BioMart database
1 2 | listDatasets(mart, verbose = FALSE)
searchDatasets(mart, pattern)
|
mart |
object of class Mart created with the useMart function |
verbose |
Give detailed output of what the method is doing, for debugging purposes |
pattern |
Character vector defining the regular expression ( |
Steffen Durinck, Mike Smith
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | if(interactive()){
## list the available Ensembl marts and use Ensembl Genes
listEnsembl()
ensembl <- useEnsembl(biomart = "ensembl")
## list the available datasets in this Mart
listDatasets(mart = ensembl)
## the list of Ensembl datasets grows ever larger (101 as of Ensembl 93)
## we can search for a term of interest to reduce the length e.g. 'sapiens'
searchDatasets(mart = ensembl, pattern = "sapiens")
## search for any dataset containing the word Rat or rat
searchDatasets(mart = ensembl, pattern = "(R|r)at")
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.