listAttributes {biomaRt}R Documentation

lists the attributes available in the selected dataset

Description

Attributes are the outputs of a biomaRt query, they are the information we want to retrieve. For example if we want to retrieve all entrez gene identifiers of genes located on chromosome X, entrezgene will be the attribute we use in the query. The listAttributes function lists the available attributes in the selected dataset

Usage

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

Arguments

mart object of class Mart created using the useMart function
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, http://www.stat.berkeley.edu/~steffen

Examples


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

[Package biomaRt version 1.16.0 Index]