subsetPedigree | R Documentation |
From a pedigree, extract a subset of individuals.
subsetPedigree(ped, inds)
ped |
data frame containing the input pedigree with three columns named "parent1", "parent2" and "child"; if "parent1" is different than "parent2", it is an allofecundation; if "parent1" is the same as "parent2" it is an autofecundation; if "parent2" is missing it is a haplodiploidization |
inds |
vector of individual names (present in the "child" column of "ped") for which their ancestors will be retrieved, up to the founders |
data frame
Julien Diot [cre,aut], Timothee Flutre [ctb]
plotPedigree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.