I am getting weird error (see below) while estimating "CordBlood", the same data work if I remove "nRBC" and changed to "Blood". Any idea? I remember, I got the same error long time ago and used the DataFrame as follows.
counts <- estimateCellCounts(rgset,meanPlot=FALSE,compositeCellType = "CordBlood",cellTypes=c("Bcell", "CD4T", "CD8T", "Gran", "Mono", "nRBC"),referencePlatform = c("IlluminaHumanMethylation450k"), returnAll = FALSE)
[estimateCellCounts] Combining user data with reference (flow sorted) data.
Error in as(rv, class(v)) :
no method or default for coercing "logical" to "factor"
In addition: Warning message:
In DataFrame(sampleNames = c(colnames(rgSet), colnames(referenceRGset)), :
'stringsAsFactors' is ignored
@hansenlab
I am getting weird error (see below) while estimating "CordBlood", the same data work if I remove "nRBC" and changed to "Blood". Any idea? I remember, I got the same error long time ago and used the DataFrame as follows.
pData(rgset) <- DataFrame(as.data.frame(sapply(pData(rgset),as.character),stringsAsFactors=F))
`
Error in as(rv, class(v)) : no method or default for coercing "logical" to "factor" In addition: Warning message: In DataFrame(sampleNames = c(colnames(rgSet), colnames(referenceRGset)), : 'stringsAsFactors' is ignored