Learn R Programming

sim1000G (version 1.3)

newFamilyWithOffspring: Simulates genotypes for 1 family with n offspring

Description

Simulates genotypes for 1 family with n offspring

Usage

newFamilyWithOffspring(family_id, noffspring = 2)

Arguments

family_id

What will be the family_id (for example: 100)

noffspring

Number of offsprings that this family will have

Value

family structure object

Examples

Run this code
# NOT RUN {
ped_line = newFamilyWithOffspring(10,3)


# }

Run the code above in your browser using DataLab