Learn R Programming

biomartr (version 0.1.0)

getAttributes: Retrieve All Available Attributes for a Specific Dataset

Description

This funcion queries the BioMart Interface and returns a table storing all available attributes for a specific dataset.

Usage

getAttributes(mart, dataset)

Arguments

mart
a character string specifying the database (mart) for which datasets shall be listed.
dataset
a character string specifying the dataset for which attributes shall be listed.

See Also

getMarts, getDatasets,getFilters, organismBM, organismFilters, organismAttributes

Examples

Run this code

## Not run: 
# 
# # search for available datasets
# getMarts()
# 
# # choose database (mart): ENSEMBL_MART_ENSEMBL
# # and get a table of all available datasets from this BioMart database
# head(getDatasets(mart = "ENSEMBL_MART_ENSEMBL"), 10)
# 
# # choose dataset: "hsapiens_gene_ensembl"
# head(getAttributes(mart = "ENSEMBL_MART_ENSEMBL", dataset = "hsapiens_gene_ensembl") , 5)
# 
# ## End(Not run)

Run the code above in your browser using DataLab