limma_deg | R Documentation |
utility function to get differential expression table from limma function in limma package.
limma_deg(gex, label)
gex |
A gene x sample data frame. rownames are gene or probe ids and colnames are sample ids. |
label |
A factor. Indicates class label of samples. It should be ordered as sample ids in gex data frame. |
DEG data frame which contains logFC, AveExpr, t, P.Value, adj.P.Val (by Benjamin-Hochberg correction)
Seongyong Park (2020-08-18)
gex = do.call(rbind, lapply(1:100, function(i) rnorm(100, sample(1:10), 2))) rownames(gex) = paste0("gid", 1:100) colnames(gex) = paste0("sid", 1:100) label = factor(c(rep("ALL", 50), rep("AML", 50)), levels=c("ALL", "AML")) head(limma_deg(gex, label))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.