getAttributes: Retrieve All Available Attributes for a Specific Dataset

Description Usage Arguments Author(s) See Also Examples

View source: R/getAttributes.R

Description

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

Usage

1
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.

Author(s)

Hajk-Georg Drost

See Also

getMarts, getDatasets, getFilters, organismBM, organismFilters, organismAttributes

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

biomartr documentation built on July 2, 2018, 1:02 a.m.