DGEListToLongTable | R Documentation |
Convert a DGEList object to a long data.frame containing expression, feature annotation, and sample annotation
DGEListToLongTable(x, exprsFun = function(dgeList) cpm(dgeList, log = TRUE))
x |
A |
exprsFun |
A function to convert counts to expression data. Default: logCPM |
Columns with empty names will be discard.
mat <- matrix(rnbinom(100, mu=5, size=2), ncol=10)
rownames(mat) <- sprintf("gene%d", 1:nrow(mat))
y <- edgeR::DGEList(counts=mat, group=rep(1:2, each=5))
DGEListToLongTable(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.