simulatePedigree: simulates pedigree given founder states

Description Usage Arguments Value

View source: R/monteCarloMethods.R

Description

Given the states (number of allele copies) of the founders, this function simulates mendelian inheritance and returns the states of all subjects in the pedigree

Usage

1
simulatePedigree(procPed, states)

Arguments

procPed

pedigree that has been through processPedigree()

states

state of each founder (0,1,2 copies of variant)

Value

states for all subjects in pedigree


RVS documentation built on Nov. 8, 2020, 6:57 p.m.