entrez_to_attribute: Obtain gene annotations

Description Usage Arguments Value

View source: R/entrez_to.R

Description

Obtain gene annotations

Usage

1
2
entrez_to_attribute(df, species, attribute, dir_annotation = getwd(),
  verbose = TRUE)

Arguments

df

A data.frame containing a column named "entrezgene_id".

species

One of "mouse" or "human".

attribute

A gene attribute. Examples include: "gene_biotype", "description", "chromosome_name", etc. See listAttributes() for more options.

dir_annotation

The directory to store annotation reference.

verbose

Set to FALSE to avoid messages.

Value

The data.frame df with an added column containing gene symbols.


tgrimes/miscgene documentation built on May 24, 2020, 5:31 a.m.