create_demo_ped_table_rhs_trait: Internal function

View source: R/create_demo_ped_table_rhs_trait.R

create_demo_ped_table_rhs_traitR Documentation

Internal function

Description

Internal function to create the right-hand side of a demo pedigree .ped table for one trait

Usage

create_demo_ped_table_rhs_trait(
  trait = create_random_trait(),
  n_individuals = 4
)

Arguments

trait

one trait with a clear genetic architecture and a known minor allele frequency, as created by create_trait. Use is_one_trait to detect if something is one trait

n_individuals

the number of individuals. Use check_n_individuals to check if this is a valid value

Author(s)

Richèl J.C. Bilderbeek

Examples

create_demo_ped_table_rhs()

richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.