addGenotype {nprcgenekeepr} | R Documentation |
Add genotype data to pedigree file
Description
Assumes genotype has been opened by checkGenotypeFile
Usage
addGenotype(ped, genotype)
Arguments
ped |
pedigree dataframe. |
genotype |
genotype dataframe. |
Value
A pedigree object with genotype data added.
Examples
library(nprcgenekeepr)
rhesusPedigree <- nprcgenekeepr::rhesusPedigree
rhesusGenotypes <- nprcgenekeepr::rhesusGenotypes
pedWithGenotypes <- addGenotype(
ped = rhesusPedigree,
genotype = rhesusGenotypes
)
[Package nprcgenekeepr version 1.0.7 Index]