Closed sirselim closed 7 years ago
Hi Miles,
Thanks for bringing this to our attention. Indeed there was a bug; the required metadata object must be of class DataFrame, and not data.frame. I just submitted a pull request and it should work once accepted. Thanks,
JP
Pull request merged in Github. It may be a few days before it appears through Bioconductor.
Hi there, I am currently trying to run the
estimateCellCounts
function across several different experiments and am hitting an error (shown below). I am using the developer version of both R and Bioconductor (session info at the bottom).I was receiving the above error when trying to look at different data sets of my own (both 450K and EPIC data), so thought I'd run through the example provided with the function to check - I end up with the same error.
I've tried working through the source code line by line and have come across a few issues:
combinedRGset <- combineArrays(rgSet, referenceRGset, outType = "IlluminaHumanMethylation450k")
, runningrequire(minfiData) && require(minfiDataEPIC)
fixed this - I seeminfiData
is a dependency but it wasn't loaded up front for whatever reason.colData(combinedRGset) <- newpd
, which I believe is intended to add an extra column to the phenotype data of the rgset. I replaced it with thiscolData(combinedRGset)$studyIndex <- newpd$studyIndex
and was able to move past the error.I've got further ahead but am now finding issues with missing functions such as
pickCompProbes
, which I found here but am unable to see how this is sourced via the minfi package itself. I've added these functions manually but am hitting a series of other issues now, so I'm beginning to wonder if I'm missing something obvious.Hopefully this is somewhat coherent and helpful, as always I'm more than happy to help/test where I can and really appreciate the work you guys put into this great package.
R session information: