Adde basic elements of simulateAllFreqs
This commit is contained in:
parent
94cf8b02c0
commit
1ac54301a6
4 changed files with 47 additions and 28 deletions
17
man/simulateAllFreqs.Rd
Normal file
17
man/simulateAllFreqs.Rd
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/simulateAllFreqs.R
|
||||
\name{simulateAllFreqs}
|
||||
\alias{simulateAllFreqs}
|
||||
\title{Simulate All Frequencies}
|
||||
\usage{
|
||||
simulateAllFreqs(noalle, COUNTS = matrix(0))
|
||||
}
|
||||
\arguments{
|
||||
\item{noalle}{noalle}
|
||||
|
||||
\item{COUNTS}{COUNTS}
|
||||
}
|
||||
\description{
|
||||
Lisää jokaista alleelia joka populaation joka lokukseen j1/noalle(j) verran. Näin saatuja counts:eja vastaavista Dirichlet-jakaumista simuloidaan arvot populaatioiden alleelifrekvensseille.
|
||||
Add each allele to each locus in each population by j 1 / noalle(j). The Dirichlet distributions corresponding to the counts thus obtained simulate values for the allele frequencies of the populations.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue