We can't handle heterozygous genotypes in RIL, and so these need to be
deleted (or treated as missing in the call to read.cross),
and the genotypes coded as if it were a backcross.
Alternatively, change all of the 3's in the genotype data to 2's (and
omit any existing 2's).
mycross <- read.cross( .... )
class(mycross)[1] <- "riself"
for(i in 1:nchr(mycross))
g <- mycross$geno[[i]]$data
g[g==2] <- NA # omit heterozygotes
g[!
is.na(g) & g==3] <- 2
mycross$geno[[i]]$data <- g
}
karl
> , when changing cross type (cross created with Gary format as well