| listFilters {biomaRt} | R Documentation |
lists the filters available in the selected dataset
listFilters(mart, group, category, showGroups = FALSE, showType = FALSE)
mart |
object of class Mart, containing connections to the BioMart database. You have to create such an object using the function useMart and update this Mart object by selecting a dataset. |
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. |
Steffen Durinck
if(interactive()){
#marts <- listMarts()
#index<-grep("ensembl",marts)
#mart <- useMart(marts[index])
#datasets <- listDatasets(mart)
#mart <- useDataset(datasets[1],mart = mart)
#filters <- listFilters(mart)
#filters[1:10]
#martDisconnect(mart = mart)
}