Displaying 1 result from an estimated 1 matches for "distain".
Did you mean:
disdain
2008 Nov 18
1
While loop set up
I am attempting to sample 10 markers from each chr, with a maximum distance
of 14, calculated by the location of the marker in each chromosome as
loc[i+1] - loc[i]. I presume the easiest way to do this is with a while
loop, so that the function keeps resampling when the max distains is greater
than 14. Example code is below.
I have gon as far as to select markers and calculate the distances, A while
loop with set with max(distances)>14 should work, but I'm not sure where to
set this.
Any help would be appreciated.
Rodrigo
#some markers, chromosomes and locations
loc...