Assumes genotype has been opened by checkGenotypeFile
addGenotype(ped, genotype)
ped | pedigree dataframe. |
---|---|
genotype | genotype dataframe. |
A pedigree object with genotype data added.
# \donttest{ library(nprcgenekeepr) rhesusPedigree <- nprcgenekeepr::rhesusPedigree rhesusGenotypes <- nprcgenekeepr::rhesusGenotypes pedWithGenotypes <- addGenotype(ped = rhesusPedigree, genotype = rhesusGenotypes) # }