Learn R Programming

biomaRt (version 2.28.0)

listFilters: lists the filters available in the selected dataset

Description

Filters are what we use as inputs for a biomaRt query. For example, if we want to retrieve all entrezgene identifiers on chromosome X, chromosome will be the filter, with corresponding value X.

Usage

listFilters(mart, what = c("name", "description"))

Arguments

mart
object of class Mart created using the useMart function
what
character vector indicating what information to display about the available filters. Valid values are name, description, options, fullDescription, filters, type, operation, filters8, filters9.

Examples

Run this code

if(interactive()){
mart = useMart("ensembl", dataset="hsapiens_gene_ensembl")
listFilters(mart)
}

Run the code above in your browser using DataLab