An error occurred when I run facets with mouse genome data Error in seg.start[seg]:seg.end[seg] : NA/NaN argument.
After I debug, I found that the jointseg in the modified function is not properly ordered. This makes seg.start <- which(diff(c(0, jointseg$seg)) == 1) failed.
An error occurred when I run facets with mouse genome data
Error in seg.start[seg]:seg.end[seg] : NA/NaN argument
.After I debug, I found that the
jointseg
in the modified function is not properly ordered. This makesseg.start <- which(diff(c(0, jointseg$seg)) == 1)
failed.