Learn R Programming

qtl (version 0.85-4)

read.cross.gary: Read data for a QTL experiment in Gary Churchill's format

Description

Data for a QTL experiment is read from a set of files and converted into an object of class cross.

Usage

read.cross.gary(dir,genfile,mnamesfile,chridfile,phefile,pnamesfile,mapfile)

Arguments

dir
Character string specifying the directory containing the input files.
genfile
File containing genotype data.
mnamesfile
File containing a list of marker names.
chridfile
File containing a list of chromosome numbers, one for each marker.
phefile
File containing phenotype data.
pnamesfile
File containing a list of phenotype names.
mapfile
File containing map locations for the markers. There may be extraneous records in this file.

Value

  • An object of class cross. See read.cross for details.

See Also

read.cross, read.cross.karl, read.cross.mm, read.cross.csv

Examples

Run this code
cross <- read.cross("gary",dir="../Data",genfile="geno.dat",
      mnamesfile="mnames.txt",chridfile="chrid.dat",phefile="pheno.dat",
      pnamesfile="pnames.txt",mapfile="markerpos.txt")

Run the code above in your browser using DataLab