listFilters {biomaRt}R Documentation

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. The listFilters functionlists the filters available in the selected dataset

Usage

listFilters(mart, group, category, showGroups = FALSE, showType = FALSE)

Arguments

mart object of class Mart created using the useMart function
group Show only the filters that belong to the specified filter group. To get an overview of the filter groups set showGroups = TRUE or use the filterSummary function for a summary
category Show only the filters that belong to the specified filter category. To get a summary of the filter category set showGroups = TRUE or use the filterSummary function for a summary
showGroups Boolean to indicate if one wants to display the filter categories and groups along with their names and descriptions
showType Boolean to indicate if one wants to display the type of filter (boolean, text,list) along with their names and descriptions. This is especially useful to see wether a filter is a boolean or not.

Author(s)

Steffen Durinck, http://www.stat.berkeley.edu/~steffen

Examples


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

[Package biomaRt version 1.16.0 Index]