View source: R/write_population.R
write_population | R Documentation |
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.
write_population(
data_obj,
geno_obj,
ref_allele = "A",
na = NA,
filename = "capeData.csv"
)
data_obj |
a |
geno_obj |
a genotype object |
ref_allele |
a character, e.g., "A", that represents the reference allele in the data object |
na |
either NA or a character used to represent a missing data value in the output |
filename |
absolute or relative path to the output file's destination |
Writes a file to the destination path
Broman et al. (2003) R/qtl: QTL mapping in experimental crosses. Bioinformatics 19:889-890 doi:10.1093/bioinformatics/btg112
## Not run:
write_population(data_obj, geno_obj)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.