listAttributes {biomaRt} | R Documentation |
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
listAttributes(mart, page,what = c("name","description"))
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 |
Steffen Durinck
if(interactive()){ ensembl = useMart("ensembl", dataset="hsapiens_gene_ensembl") listAttributes(ensembl) }