convert2risib {qtl} | R Documentation |
Convert a cross to type "risib"
(RIL by sib mating).
convert2risib(cross)
cross |
An object of class |
If there are more genotypes with code 3 (BB) than code 2 (AB), we omit the genotypes with code==2 and call those with code==3 the BB genotypes.
If, instead, there are more genotypes with code 2 than code 3, we omit the genotypes with code==3 and call those with code==2 the BB genotypes.
The input cross object, with genotype codes possibly changed and cross
type changed to "risib"
.
Karl W Broman, kbroman@biostat.wisc.edu
data(hyper) hyper.as.risib <- convert2risib(hyper)