Coal.Theta.Sim.File.G: Coal.Theta.Sim.File.G: function to simulate a vector (k.vec)...

Description Usage Arguments

View source: R/Coal.Theta.Sim.File.G.R

Description

This function returns k.vec, l.vec, n.vec from simulating under the coalescent model, with the results written to 'out.file'

Usage

1
Coal.Theta.Sim.File.G(theta, n.vec, l.vec, num.loci, out.file, alpha.param, K)

Arguments

theta

Population size parameter theta

num.loci

Number of loci to simulate

out.file

Outfile to write in alleles format

alpha.param

Shape parameter of the gamma distribution for among-locus rate variation

K

Number of discrete classes to approximate the gamma distribution

n.list

List containing the number of samples for each locus

l.list

List containing the number of samples for each locus


radamsRHA/ThetaMater documentation built on April 5, 2020, 3:19 a.m.