pop_init: Intialize a Pop object

View source: R/pop_init.R

pop_initR Documentation

Intialize a Pop object

Description

Intialize a Pop object

Usage

pop_init(n = 4, chroms, donors = c("A", "B", "C", "D"), g_map, poptype = NULL)

Arguments

n

Number of individuals to initialize (int) #' @param chroms Number of chromosomes

donors

List of names of individuals for founder population

g_map

Dataframe with physical and genetic positions for chromosome trying to be simulated. Of format chr,physical_position,gentic_position

Value

A a Pop object of indred founder lines


sarahodell/magicsim documentation built on Sept. 25, 2023, 8:12 a.m.