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, page,what = c("name","description"))

Arguments

mart

object of class Mart created using the useMart function

page

Show only the attributes that belong to the specified attribute page.

what

vector of types of information about the attributes that need to be displayed. Can have values like name, description, fullDescription, page

Author(s)

Steffen Durinck

Examples


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

[Package biomaRt version 2.18.0 Index]