get_annotation_orgdb: Get an annotation data frame from org db packages

Description Usage Arguments Value Examples

View source: R/get_annotation.R

Description

Get an annotation data frame from org db packages

Usage

1
get_annotation_orgdb(dds, orgdb_species, idtype)

Arguments

dds

A DESeqDataSet object

orgdb_species

Character string, named as the org.XX.eg.db package which should be available in Bioconductor

idtype

Character, the ID type of the genes as in the row names of dds, to be used for the call to mapIds

Value

A data frame for ready use in pcaExplorer, retrieved from the org db packages

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(airway)
data(airway)
airway
dds_airway <- DESeq2::DESeqDataSetFromMatrix(assay(airway),
                                             colData = colData(airway),
                                             design = ~dex+cell)
## Not run: 
get_annotation_orgdb(dds_airway, "org.Hs.eg.db", "ENSEMBL")

## End(Not run)

pcaExplorer documentation built on Nov. 8, 2020, 5:29 p.m.