hms-dbmi / scde

R package for analyzing single-cell RNA-seq data
http://pklab.med.harvard.edu/scde
Other
170 stars 64 forks source link

Error when running pagoda.gene.clusters #29

Closed majorkazer closed 8 years ago

majorkazer commented 8 years ago

Hello,

When I run the 'de novo' section in the tutorial for Pagoda on the pollen data, I get the following error: Error in eval(expr, envir, enclos) : object 'n' not found

Upon debugging, the error stems from this part of the code: x <- RMTstat::WishartMaxPar(n.cells, varm$n) varm$pm <- x$centering - (1.206533574582) * x$scaling varm$pv <- (1.607781034581) * x$scaling clvlm <- lm(var ~ 0 + pm + n, data = varm)

Thanks, Sam