Hi everyone
So I had a question about the scde package in R which I am trying to use for single cell analysis. When I try to run it in R using the code below: source("https://bioconductor.org/biocLite.R") biocLite("scde")
I get warning message: package 'scde' is not available (for R version 3.2.3)
and I essentially need to use the scde.error.models function using: o.ifm <- scde.error.models(counts = cd, groups = sg, n.cores = 10, threshold.segmentation = TRUE, save.crossfit.plots = FALSE, save.model.plots = FALSE, verbose = 1)
which as expected gives me the error that this function does not exist. My question is how can I get scde to work or if that is not possible, what should I be using instead?
Thank you soo much!! That worked!
If you don't mind me asking, when I run:
o.ifm <- scde.error.models(counts = cd, groups = sg, n.cores = 10, threshold.segmentation = TRUE, save.crossfit.plots = FALSE, save.model.plots = FALSE, verbose = 1)
I am getting the error that arguments must have same length and error in tapply(...){. Which arguments does it refer to?
I haven't used
scde.error.models()
before, but I would guess it has to do with thecounts
orgroups
parameters. According to the documentation,counts
should beSo I would check if the columns of
cd
match what you've input assg
.