write.cross.mm {qtl}R Documentation

Write data in mapmaker format

Description

Data for a QTL experiment is written to .raw and .prep files, suitable for importing into the mapmaker/exp and mapmaker/qtl programs.

Usage

write.cross.mm(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 two files, in mapmaker format. Suppose filestem="file". Then "file.raw" will contain the genotype and phenotype data, and "file.prep" will contain the necessary code for defining the chromosome assignments, marker order, and inter-marker distances.

Author(s)

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

See Also

read.cross, read.cross.mm

Examples

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

[Package Contents]