View source: R/get_annotation.R
get_annotation | R Documentation |
Get an annotation data frame from biomaRt
get_annotation(dds, biomart_dataset, idtype)
dds |
A |
biomart_dataset |
A biomaRt dataset to use. To see the list, type
|
idtype |
Character, the ID type of the genes as in the row names of
|
A data frame for ready use in pcaExplorer
, retrieved from biomaRt.
library("airway")
data("airway", package = "airway")
airway
dds_airway <- DESeq2::DESeqDataSetFromMatrix(assay(airway),
colData = colData(airway),
design = ~dex+cell)
## Not run:
get_annotation(dds_airway, "hsapiens_gene_ensembl", "ensembl_gene_id")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.