listAttributes {biomaRt} | R Documentation |
lists the datasets available in the selected dataset
listAttributes(mart, group, category, showGroups = 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 attributes that belong to the specified attribute group. To get a summary of the attribute groups set showGroups = TRUE or use the attributeSummary function |
category |
Show only the attributes that belong to the specified attribute category. To get a summary of the attribute pages set showGroups = TRUE or use the attributeSummary function |
showGroups |
boolean to indicate if one wants to display the attribute categories and groups along with their names and descriptions |
Steffen Durinck
if(interactive()){ #marts <- listMarts() #index<-grep("ensembl",marts) #mart <- useMart(marts[index]) #datasets <- listDatasets(mart) #mart <- useDataset(datasets[1],mart = mart) #attributes <- listAttributes(mart) #attributes[1:10] #martDisconnect(mart = mart) }