The docstring claims design should be a formula when method="DESeq2":
|
#' For \code{"DESeq2"}, a formula with variables in \code{colData(pb)}. |
However, pbDS calls .check_args_pbDS before considering method:
That function immediately fails if design is anything but a matrix:
|
if (!is.null(u$design)) |
|
stopifnot(is.matrix(u$design), |
So how would I run DESeq2 for ~ batch + group_id instead of the default ~ group_id?