View source: R/findAvailAffected.R
findAvailAffected | R Documentation |
Finds one subject from among available non-parents with indicated affection status
findAvailAffected(ped, avail, affstatus)
ped |
A pedigree objects, with id (subject ID), findex (father index), mindex (mother index) |
avail |
Vector of availability status (e.g., genotyped) 0/1 or TRUE/FALSE |
affstatus |
Vector of affection status 0/1 or TRUE/FALSE. |
When used within pedigree.shrink, this function is called with the first affected indicator, if the affected item in the pedigree is a matrix of multiple affected indicators.
A list is returned with the following components
ped |
Dataframe with trimmed subject removed |
idTrimmed |
Vector of IDs of trimmed individuals |
isTrimmed |
logical value indicating whether pedigree has been trimmed |
bitSize |
Bit size of the trimmed pedigree |
pedigree.shrink
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.