View source: R/onemap_read_vcfR.R
write_onemap_raw | R Documentation |
Converts onemap R object to onemap input file. The input file brings information about the mapping population: First line: cross type, it can be "outcrossing", "f2 intercross", "f2 backcross", "ri self" or "ri sib". Second line: number of individuals, number of markers, presence (1) or absence (0) of chromossome and position of the markers, and number of phenotypes mesured. Third line: Individuals/sample names; Followed lines: marker name, marker type and genotypes. One line for each marker. Final lines: chromossome, position and phenotypes informations. See more about input file format at vignettes.
write_onemap_raw(onemap.obj = NULL, file.name = NULL)
onemap.obj |
object of class 'onemap' |
file.name |
a character for the onemap raw file name. Default is "out.raw" |
a onemap input file
Cristiane Taniguti, chtaniguti@tamu.edu
read_onemap
for a description of the output object of class onemap.
data(onemap_example_out) write_onemap_raw(onemap_example_out, file.name = paste0(tempfile(), ".raw"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.