simulatePedigree {RVS}R Documentation

simulates pedigree given founder states

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

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


[Package RVS version 1.2.1 Index]