Learn R Programming

biomartr (version 0.0.1)

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
# search for available datasets
head(getMarts(), 10)

# choose database (mart): "plants_mart_25"
# and get a table of all available datasets from this BioMart database
head(getDatasets(mart = "plants_mart_25"), 10)

# choose dataset: "athaliana_eg_gene"
head(getAttributes(mart = "plants_mart_25", dataset = "athaliana_eg_gene") , 5)

Run the code above in your browser using DataLab