get_annotation: Get annotation

Description Usage Arguments Details Value

View source: R/get_annotation.R

Description

Get annotation for a specific platform

Usage

1
get_annotation(dataset, platform = "none", db = "main", att)

Arguments

dataset

ENSEMBL dataset name. A dataset name can be retrieved with list_datasets() function.

platform

Platform name in ENSEMBL. Usually one retrieved by list_platforms() function. Use "none" if you aren't working with microarray. In that case the parameter "att" is mandatory.

db

One of the following ENSEMBL databases: "main" for ENSEMBL_MART_ENSEMBL database (the main database in ENSEMBL, provides information for the majority of species) and "mouse" for ENSEMBL_MART_MOUSE database (which provides specific information of mouse strains)

att

Attributes to be retrieved. If not specified, retrives HGNC symbol and ENTREZ id.

Details

The att argument expects a vector containing the attributes according to biomart package. One can retrieve all available attributes with list_all_attributes() function.

Value

Dataframe containing the attributes requested.


iaradsouza1/MicroarrayMethods documentation built on Nov. 3, 2021, 2 p.m.