listFilters: lists the filters available in the selected dataset

Description Usage Arguments Author(s) Examples

View source: R/biomaRt.R

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

1
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.

Author(s)

Steffen Durinck

Examples

1
2
3
4
if(interactive()){
mart = useMart("ensembl", dataset="hsapiens_gene_ensembl")
listFilters(mart)
}

biomaRt documentation built on May 24, 2018, 6:01 p.m.