Description Usage Arguments Value Examples
The constructor for GeneAnnotations
1 |
raw_annotations |
A data.frame having columns "Gene" and "Term" that contains all annotations. |
name |
The annotations name |
The GeneAnnotations object
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.