View source: R/get.data.structure.R
get.data.structure | R Documentation |
Read the observed data to get the simulation parameters; base pairs and number of individuals per population.
get.data.structure(model, path.to.fasta, pop.assign, sanger = F)
model |
A model object generated with main.menu function. |
path.to.fasta |
path to the fasta alignments directory. |
pop.assign |
a two column data frame with poppulation assignemt of individuals. First column must have the samples name, the secound column the population in numbers, 1 for pop1, 2 for pop2 etc. |
sanger |
logical. If TRUE the inheritance scalar and mutation rates set up in the main.menu are kept. If FALSE the mutation rate is propagated to all loci. Defaut is FALSE. |
Model object with updated gene parameters.
Marcelo Gehara
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.