ChrM causes "missing value where TRUE/FALSE needed" error
0
0
Entering edit mode
millerh1 ▴ 10
@millerh1-22165
Last seen 20 months ago
United States

I received this error when running cn.mops():

Error in if (all(segMedianT == 0)) { : 
  missing value where TRUE/FALSE needed

The issue occurs when the for loop reaches chrM and encounters the segment function:

> sINI[chrIdx, ,drop=FALSE]
                    WT       MUT
chrM_0_16571 0.2196978 0.2196978
> resSegmList[[chrom]] <- apply(sINI[chrIdx, ,drop=FALSE],2,
+                                       segment,
+                                       minSeg=minWidth)
Error in if (all(segMedianT == 0)) { : 
  missing value where TRUE/FALSE needed

Thought I would let you know!

Best, Henry Miller

cn.mops • 585 views
ADD COMMENT

Login before adding your answer.

Traffic: 641 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6