View source: R/format_BM_from_XML.R
runWithMart | R Documentation |
Run a pre-formatted query, as returned by format_BM_from_XML() to biomaRt with a "Mart" object as returned by getParamart() or useMart().
runWithMart(cll, mart)
cll |
biomaRt call as returned by format_BM_from_XML() |
mart |
a "Mart" object as returned by getParamart() or useMart(). |
The query result as a dataframe.
getBM
, getParamart
query = format_BM_from_XML('<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Query> <Query virtualSchemaName = "parasite_mart" formatter = "TSV" header = "0" uniqueRows = "0" count = "" datasetConfigVersion = "0.6" > <Dataset name = "wbps_gene" interface = "default" > <Filter name = "biotype" value = "lincRNA"/> <Filter name = "species_id_1010" value = "caelegprjna13758"/> <Attribute name = "wbps_gene_id" /> </Dataset> </Query>') library(biomaRt) mart = getParamart() lincs = runWithMart(query, mart)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.