Skip to content

Unable to use it without treatment #11

@llrs

Description

@llrs

Nice package and nice idea!

I tried running subsample but I found an error:

library(subSeq)
data(hammer)
               
hammer.counts = Biobase::exprs(hammer)[, 1:4]
hammer.design = Biobase::pData(hammer)[1:4, ]
hammer.counts = hammer.counts[rowSums(hammer.counts) >= 5, ]
               
ss = subsample(hammer.counts, c(.01, .1, 1),
               method=c("edgeR", "DESeq2", "voomLimma"))
#> Error in factor(treatment): argument "treatment" is missing, with no default

Created on 2019-05-14 by the reprex package (v0.2.1)

I cannot run the subsample function without treatment, and I cannot provide a treatment that it is not a single vector (I tried with a data.frame). How can we test if we have undersequenced if there are several variables relevant to the condition being tested?

By the way, it was nice to see that it is able to plot directly the summary of ss plot(summary(ss)).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions