View source: R/get_annotation.R
get_annotation_orgdb | R Documentation |
Get an annotation data frame from org db packages
get_annotation_orgdb(dds, orgdb_species, idtype, key_for_genenames = "SYMBOL")
dds |
A |
orgdb_species |
Character string, named as the |
idtype |
Character, the ID type of the genes as in the row names of
|
key_for_genenames |
Character, corresponding to the column name for the
key in the orgDb package containing the official gene name (often called
gene symbol).
This parameter defaults to "SYMBOL", but can be adjusted in case the key is not
found in the annotation package (e.g. for |
A data frame for ready use in pcaExplorer
, retrieved from the
org db packages
library("airway")
data("airway", package = "airway")
airway
dds_airway <- DESeq2::DESeqDataSetFromMatrix(assay(airway),
colData = colData(airway),
design = ~dex+cell)
anno_df <- get_annotation_orgdb(dds_airway, "org.Hs.eg.db", "ENSEMBL")
head(anno_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.