gravatar for yxswhx

3 hours ago by

I tried to use the EnrichmentBrowser package to do the analysis, but the following codes gave error message:
"No group or design set. Assuming all samples belong to one group." Any help is much appreciated.

nrows <- 200; ncols <- 6
counts <- matrix(round(runif(nrows * ncols, 1, 1e4)), nrows)
colData <- DataFrame(GROUP=rep(c(0, 1), 3),
se0 <- SummarizedExperiment(assays=SimpleList(counts=counts),
dds <- deAna(se0, de.method="DESeq2")

Source link