get_annotation {pcaExplorer} | 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) 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)