"SnpMatrix"
object
read.pedfile(file, n, snps, which, split = "\t| +", sep = ".", na.strings = "0", lex.order = FALSE)
locus
and a separator character
SnpMatrix
object
NA
. Any field taking one of these
values will be set to NA
1
and
2
values in lexographic order. Otherwise they are converted
in the order in which they are encountered when reading the file
(the default setting)
"SnpMatrix"
. If either the pedigree or pedigree-member identifiers in
the ped
file are not duplicated, these are used for the row
names of the output object. Otherwise these two fields are
concatenated, separated by sep
SnpMatrix
SnpMatrix
SnpMatrix
object and for the
accompanying subject description dataframe are taken as the pedigree
identifiers, when these provide the required unique identifiers. When
these are duplicated, an attempt is made to use the pedigree-member
identifiers instead but, when these too are duplicated,
row names are obtained by concatenating, with a separator character, the
pedigree and pedigree-member identifiers.
SnpMatrix-class
, XSnpMatrix-class
##
## No example supplied yet
##
Run the code above in your browser using DataLab