listAttributes {biomaRt}R Documentation

lists the attributes available in the selected dataset

Description

lists the datasets available in the selected dataset

Usage

listAttributes(mart, group, category, showGroups = FALSE)

Arguments

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

Author(s)

Steffen Durinck

Examples


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)
}

[Package biomaRt version 1.10.1 Index]