write.cross.csv {qtl}R Documentation

Write data in comma-delimited format

Description

Data for a QTL experiment is written to a .csv file.

Usage

write.cross.csv(cross, filestem="data", chr, digits=5)

Arguments

cross An object of class cross. See read.cross for details.
filestem A character string giving the first part of the output file names (the bit before the dot).
chr A vector specifying for which chromosomes data should be written.
digits Number of digits to which phenotype values should be rounded.

Value

Data is written to a comma-delimited file, "filestem.csv", where "filestem" is to be replaced by the corresponding argument to the function. See read.cross.csv for a description of the format.

Author(s)

Karl W Broman, kbroman@jhsph.edu
http://biosun01.biostat.jhsph.edu/~kbroman/software/qtl.html

See Also

read.cross, write.cross, read.cross.csv

Examples

data{fake.bc}
write.cross.csv(fake.bc,"Data/fakebc",c(5,13))
write.cross(fake.bc,"csv","Data/fakebc",c(5,13))

[Package Contents]