grap_df: A pedigree dataframe for subset of limited size

Description Usage Arguments Examples

Description

For a given individual, this function returns a pedigree dataframe for close kin

Usage

1
2
grap_df(x = NULL, df_ind = NULL, subsample_id = NULL, min_size = 300,
  max_count = 9)

Arguments

x

An individual ID

df_ind

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

min_size

Minimum size, i.e. number of family members

max_count

Maximum number of iterations

Examples

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

## End(Not run)

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