Closed shantelw closed 7 years ago
Hi Shantel,
The estimateCellCounts function only work with an RGChannelSet.
JP
Kasper: estimateCellCounts() calls combineArrays(), which calls combine().
The combine() function fails because the number of assays of the reference RGSet is 2, and 5 for the user's RGSetExtended.
Error in .bind_Assays(unname(list(...)), acbind) : assays must have the same length
Kasper: Yes, I was able to convert the RGChannelSetExtended to an RGChannelSet and then it worked just fine.
JP: we could cast the input as an RGChannelSet, effectively removing the additional assays.
We have fixed this in devel in the following sense: inputting an RGChannelSetExtended to estimateCellCounts will now silently convert the RGChannelSetExtended to an RGChannelSet and run.
This also means we now support
as(rgSetExt, "RGChannelSet")
for coercion.
I am working with a combined dataset of 450k and EPIC data. My rgset is type RGChannelSetExtended and I used the combineArrays function. Can I use this new virutal array that has rgset type RGChannelSetExtended with the estimatecellcounts function in minfi? Or, will it only accept the RGChannelSet type?
Thx, Shantel