powered by
This function writes out a cape object in a csv format readable both by read_population in Cape or by read.cross in R/qtl.
read_population
write_population( data_obj, geno_obj, ref_allele = "A", na = NA, filename = "capeData.csv" )
Writes a file to the destination path
a Cape object
Cape
a genotype object
a character, e.g., "A", that represents the reference allele in the data object
either NA or a character used to represent a missing data value in the output
absolute or relative path to the output file's destination
Broman et al. (2003) R/qtl: QTL mapping in experimental crosses. Bioinformatics 19:889-890 doi:10.1093/bioinformatics/btg112
if (FALSE) { write_population(data_obj, geno_obj) }
Run the code above in your browser using DataLab