getAttributes: Retrieve All Available Attributes for a Specific Dataset

View source: R/getAttributes.R

getAttributesR Documentation

Retrieve All Available Attributes for a Specific Dataset

Description

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

Usage

getAttributes(mart, dataset, mute_citation = FALSE)

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.

mute_citation

logical value indicating whether citation message should be muted.

Author(s)

Hajk-Georg Drost

See Also

getMarts, getDatasets, getFilters, organismBM, organismFilters, organismAttributes

Examples

## 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 Oct. 25, 2023, 1:08 a.m.