geneAnnotations: geneAnnotations (with AnnotationDbi).

Description Usage Arguments Value

Description

Adds gene annotations

Usage

1
geneAnnotations(input, keys, column, keytype, organism = "human")

Arguments

input

Can be a) a data frame with keys as rownames or b) a vector of keys.

keys

The keys to select records for from the database. Find keytypes with keytypes(org.Hs.eg.db).

column

The columns or kinds of things that can be retrieved from the database. As with keys, all possible columns are returned by using columns(org.Hs.eg.db).

keytype

Allows the user to discover which keytypes can be passed in to select or keys and the keytype argument.

organism

Set organism. Defaults to human, can also be mouse.

Value

a) will return the same data frame as input with additional column(s) containing the annotation(s). b) will convert input to data frame and add column(s) containing the annotation(s).


ShirinG/exprAnalysis documentation built on May 9, 2019, 1:28 p.m.