increase_ancestor: increase the ancestor index

Description Usage Arguments Value Author(s) Examples

Description

Increase the ancestor indexing to avoid overlap with another population

Usage

1
increase_ancestor(population, increment)

Arguments

population

object of type 'chromosome population'

increment

Number to add to the ancestor index, should ideally be larger than the number of ancestors in the other population. Default is 20, which should normally suffice.

Value

A population object

Author(s)

Thijs Janzen

Examples

1
2
3
4
5
6
7
wildpop <- create_population(pop_size = 100,
                             number_of_founders = 10,
                             total_runtime = 5,
                             morgan = 1,
                             seed = 42)

wildpop2 <- increase_ancestor(wildpop, 20)

thijsjanzen/isoSIM documentation built on May 29, 2019, 10:39 a.m.