Skip to content

mismatch of documentation and implementation regarding how to specify design for DESeq2. #147

@mschilli87

Description

@mschilli87

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:

.check_args_pbDS(args)

That function immediately fails if design is anything but a matrix:

muscat/R/validity-checks.R

Lines 153 to 154 in 49a3b32

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions