Dear Karl,
Sorry to bother you, but I met some troubles when trying to read the "yaml" file.
Here is my script for creating such control file:
***
write_control_file(
fa_control_file,
crosstype = "riself4",
geno_file = "fa_geno.csv",
founder_geno_file = "fa_foundergeno.csv",
gmap_file = "fa_gmap.csv",
pheno_file = "fa_pheno.csv",
crossinfo_file = "fa_crossinfo.csv",
geno_codes = c(A=1L, B=2L),
alleles = c("A", "B"),
sep = ",",
na.strings = c("-", "NA"),
)
***
However, when running the function "read_cross2", there is always a warning:"No markers in common between map and genotypes." After checking twice and ensuring that they have the same names and orders in "geno", "gmap", "foundergeno" and "pmap" csv.
If you need my dataset for testing, I would send you as soon as possible.
Thank you very much!
Kai Li