Learn R Programming

biomartr (version 0.5.9000)

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
# NOT RUN {
# search for available datasets
getMarts()
# choose database (mart): "ENSEMBL_MART_ENSEMBL"
head(getDatasets(mart = "ENSEMBL_MART_ENSEMBL"), 10)
# choose dataset: "hsapiens_gene_ensembl"
head(getFilters(mart = "ENSEMBL_MART_ENSEMBL", 
                dataset = "hsapiens_gene_ensembl") , 5)
# }

Run the code above in your browser using DataLab