Entering edit mode
Hui Tang
▴
20
@hui-tang-3359
Last seen 10.4 years ago
Hi,
I have a vector x of length = 2109199
The coordinates are from 50 to 146273025 (approximately every 35bp,
but
there are some gaps)
I set:
maxk = 30
maxseg = 140613 = length/15
and run:
segs <- segment(x, maxk = maxk, maxseg = maxseg)
Here's the error message:
Error in .Call("findsegments", G, maxseg, verbose, PACKAGE =
"tilingArray")
:
negative length vectors are not allowed
Help anyone? Thanks!
-HT
[[alternative HTML version deleted]]