[R] Error in sort(abs(diff(genomdat)))[1:n.keep] : only 0's maybemixed with negative subscripts
Gerrit Eichner
Gerrit.Eichner at math.uni-giessen.de
Tue Jun 12 16:00:59 CEST 2012
Hello, sanshine,
maybe you should check the value of n.keep and make sure that it is
non-negative.
Hth -- Gerrit
On Tue, 12 Jun 2012, sanshine wrote:
> Hello everyone,
>
> I`m trying to normalize and analize an illumina SNP array.
> But when i`m trying to segmentate i`m getting an error:
> Error in sort(abs(diff(genomdat)))[1:n.keep] :
> only 0's may be mixed with negative subscripts.
> I`ve tried everything to fix this but the error still occours.
>
> Can anybody give me a tip?
>
> Thanks in advance!
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Error-in-sort-abs-diff-genomdat-1-n-keep-only-0-s-may-be-mixed-with-negative-subscripts-tp4633091.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list