.biomartLoad | R Documentation |
Common call to biomaRt to avoid repetitive code
.biomartLoad(attributes, filters, values, useCache, verbose)
attributes |
Attributes you want to retrieve. A possible list of attributes can be retrieved using the function biomaRt::listAttributes. |
filters |
Filters (one or more) that should be used in the query. A possible list of filters can be retrieved using the function biomaRt::listFilters. |
values |
Values of the filter, e.g. vector of affy IDs. If multiple filters are specified then the argument should be a list of vectors of which the position of each vector corresponds to the position of the filters in the filters argument |
useCache |
Boolean indicating if biomaRt cache should be used |
verbose |
When using biomaRt in webservice mode and setting verbose to TRUE, the XML query to the webservice will be printed. |
data.frame with attributes as columns and values translated to them
geneNames
ensemblGeneNames
protein2EnsemblGeneNames
biomaRt::getBM()
biomaRt::useEnsembl()
glmSparseNet:::.biomartLoad(
attributes = c("external_gene_name", "ensembl_gene_id"),
filters = "external_gene_name",
values = c("MOB1A", "RFLNB", "SPIC", "TP53"),
useCache = TRUE,
verbose = FALSE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.