loadPheno: Load the Phenotype of a QuantiNemo simulation

Description Usage Arguments Examples

Description

Load the Phenotype of a QuantiNemo simulation

Usage

1
loadPheno(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_phenotype",1)
run(my_sim)
pheno <- loadPheno(my_sim)
table(pheno$V2)

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