loadGeno: Load the Genotype of a QuantiNemo simulation

Description Usage Arguments Examples

Description

Load the Genotype of a QuantiNemo simulation

Usage

1
loadGeno(object, generation = -1, replicate = 0)

Arguments

generation

The generation from which we want to load the data. A Negative number mean starting from the end.

replicate

The replicate from which we want to load the data. A value of 0 mean that there is only one replicate.

Examples

1
2
3
4
5
6
my_sim <- new("simulation")
my_sim <- setParameter(my_sim,"quanti_loci",1)
my_sim <- setParameter(my_sim,"quanti_save_genotype",1)
run(my_sim)
geno <- loadGeno(my_sim)
table(geno$V2)

frederic-michaud/RQuantiNemo documentation built on May 15, 2019, 2:51 a.m.