getPed | R Documentation |
Returns the population's pedigree as stored in the id, mother and father slots. NULL is returned if the input population lacks the required.
getPed(pop)
pop |
a population |
# Create a founder population
founderPop = quickHaplo(2,1,2)
# Set simulation parameters
SP = SimParam$new(founderPop)
# Create a population
pop = newPop(founderPop, simParam=SP)
# Get the pedigree
getPed(pop)
# Returns NULL when a population lacks a pedigree
getPed(founderPop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.