Usage
read.cross.csv(dir,file,sep=",",na.strings="-",genotypes=c("A","H","B","C","D"))Arguments
dir
Character string specifying the directory containing the
input files.
file
A comma-delimited file containing all of the data, in a
very rigid format. The first line should contain the phenotype
names followed by the marker names. The next line should contain
blanks in the phenotype columns, followed by chromosome i
sep
The field separator. This is generally ",", but
could be any other character, as long as that character does not
appear in any of the records.
na.strings
A vector of strings which are to be interpreted as
missing values. These are interpreted globally for the entire file,
so missing value codes in phenotypes must not be valid genotypes,
and vice versa.
genotypes
A vector of character strings specifying the genotype
codes used in the file. Generally this is a vector of length 5,
with the elements corresponding to AA, AB, BB, not AA (i.e., AB or
BB), and not BB (ie, AB or BB). Note: Pay careful