GeneAnnotations: GeneAnnotations constructor

Description Usage Arguments Value Examples

Description

The constructor for GeneAnnotations

Usage

1

Arguments

raw_annotations

A data.frame having columns "Gene" and "Term" that contains all annotations.

name

The annotations name

Value

The GeneAnnotations object

Examples

1
2
3
4
5
6
uniKeys <- AnnotationDbi::keys(org.Hs.eg.db::org.Hs.eg.db, keytype="SYMBOL")
cols <- c("PATH")
kegg_raw <- AnnotationDbi::select(org.Hs.eg.db::org.Hs.eg.db, keys=uniKeys, columns=cols, keytype="SYMBOL")
kegg_raw <- kegg_raw[, c(1, 2)]
colnames(kegg_raw) <- c("Gene", "Term")
kegg <- GeneAnnotations(raw_annotations = kegg_raw, name="KEGG-Human")

priesgo/TCGAome documentation built on May 25, 2019, 11:26 a.m.