Closed JohnReid closed 9 years ago
I suspect the filtering is not dropping unused levels, and thus z.exprs
is empty. As a quick fix, perhaps refactor time
to include only the levels used.
Can you post a small reproducible example?
First, I guess that perhaps this filter only makes sense for qPCR data. Is it worth applying it to RNA-seq data?
Second, when I try to refactor time to only use the 3 levels, I get these errors:
Error in combine(pDataX, pDataY) : data.frames contain conflicting data: non-conforming colname(s): time In addition: Warning messages: 1: In alleq(x[sharedRows, nm, drop = FALSE], y[sharedRows, nm, drop = FALSE]) : Component 1: target is NULL, current is character 2: In FUN(c("time", "wellKey", "cell")[[3L]], ...) : data frame column 'time' shared rows not all equal
Sorry that I don't have an example I can send you smalll or otherwise.
Quoting
Hi, Thanks for the quick response. I've managed to work out that I had a typo in my hypothesis >argument to zlm.SingleCellAssay. I had inadvertently capitalised Time which slipped by without a >warning. So sorry for the noise.
Any idea what could cause this error?
the assay was built like:
assay <- SingleCellAssay(dataframe=ncounts.m, idvars="cell", cellvars="time", primerid="tx", featurevars="symbol", measurement="log.count")
time
is a factor with 5 levels of which 3 are used.Thanks