Learn R Programming

biomartr (version 0.0.1)

getFilters: Retrieve All Available Filters for a Specific Dataset

Description

This funcion queries the BioMart API and returns a table storing all available filters for a specific dataset.

Usage

getFilters(mart, dataset)

Arguments

mart
a character string specifying the database (mart) for which datasets shall be listed.
dataset
a character string specifying the dataset for which filters shall be listed.

See Also

getMarts, getDatasets, getAttributes, organismBM, organismFilters, organismAttributes

Examples

Run this code
# search for available datasets
head(getMarts(), 10)

# choose database (mart): "plants_mart_25" -> Note: mart versions change over time
# and get a table of all available datasets from this BioMart database
head(getDatasets(mart = "plants_mart_25"), 10)

# choose dataset: "athaliana_eg_gene"
head(getFilters(mart = "plants_mart_25", dataset = "athaliana_eg_gene") , 5)

Run the code above in your browser using DataLab