cleanGeno(cross, chr, maxdist=2.5, maxmark=2, verbose=TRUE)
cross
. See
read.cross
for details.-
to have all chromosomes but those considered. A logical (TRUE/FALSE)
vector may also be used.cross
object with suspect genotypes omitted.
locateXO
to identify crossover locations.
If a pair of adjacted crossovers are separated by no more than
maxdist
and contain no more than maxmark
genotyped
markers, the intervening genotypes are omitted (that is, changed to
NA
). The arguments maxdist
and maxmark
may be vectors. (If
both have length greater than 1, they must have the same length.) If
they are vectors, genotypes are omitted if they satisify any one of
the (maxdist
, maxmark
) pairs.
locateXO
,
countXO
, calc.errorlod
data(hyper)
sum(ntyped(hyper))
hyperc <- cleanGeno(hyper, chr=4, maxdist=c(2.5, 10), maxmark=c(2, 1))
sum(ntyped(hyperc))
Run the code above in your browser using DataLab