fix_ped: Prepare a pedigree dataframe by excluding 'half-parents'

Description Usage Arguments Examples

Description

This function returns a pedigree dataframe, which is restricted to members of its largest pedigree.

Usage

1
fix_ped(x, df_ind = NULL, subsample_id = NULL)

Arguments

x

ID of individual for which a pedigree should be composed.

df_ind

A dataframe for genealogical relations providing the variables 'id', 'momid' and 'dadid'

subsample_id

A vector of IDs (Set 'as.numeric(dimnames(evmat)$id') for IDs with events)

Examples

1
2
3
4
## Not run: 
fix_ped(grap_kin(1067, df_ped), df_ped)

## End(Not run)

johow/kinlab documentation built on July 5, 2019, 4:23 p.m.