Entering edit mode
I am attempting to extract copy number from EPIC and EPICv2 arrays.
I have tried some things but run into the same issues as reported here, here, and here.
CNV.fit() -> "query intensities not given for all probes"
CNV.segment() -> "Error in if (min(weights) <= 0) stop("all weights should be positive") : missing value where TRUE/FALSE needed"
I am seeing in ?CNV.create_anno that array_type overlap.2 would convenient but I haven't gotten it to work.
Is array_type = "overlap.2" available?
If not, has anyone been able to handle EPIC and EPICv2 together.
> ?CNV.create_anno
...
array_type: character. One of '450k', 'EPIC', 'EPICv2', 'mouse'. When
analyzing data from multiple array types, choose between
'overlap.1' for 450k and EPIC, 'overlap.2' for EPIC and
EPICv2 or 'overlap.3' for 450k, EPIC, EPICv2.
...
> anno <- CNV.create_anno(array_type = "overlap.2", exclude_regions = exclude_regions, detail_regions = detail_regions)
Error in CNV.create_anno(array_type = "overlap.2", exclude_regions = exclude_regions, :
array_type must be one/multiple of 450k, EPIC, EPICv2, or mouse
> packageVersion("conumee2")
[1] '2.1'
As described on the github the way to do this is using array_type = c("EPIC", "EPICv2")
This is working for me now so I'll leave it here. I have all EPIC controls, but this should work with both.