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),
                     row.names=LETTERS[1:6])
se0 <- SummarizedExperiment(assays=SimpleList(counts=counts),
                            colData=colData)
dds <- deAna(se0, de.method="DESeq2")



Source link