Description Usage Arguments Details Value Author(s) See Also Examples
Constructor for simumix objects.
The function simumix
creates a simumix object from
a tabfreq object.
The function as.simumix
is an alias for simumix
function.
is.simumix
tests if an object is a valid simumix object.
Note: to get the manpage about simumix, please type 'class ? simumix'.
1 2 3 | simumix(tab,which.loc=NULL,ncontri=1)
as.simumix(tab,which.loc=NULL,ncontri=1)
is.simumix(x)
|
tab |
a simugeno object created with constructor simugeno |
which.loc |
a character vector giving the chosen loci for the genotypes simulation. The default is set to NULL,
which corresponds to all the loci of the |
ncontri |
integer vector giving the number of individuals. If there are several populations,
|
x |
an object |
DNA mixtures are created by randomly drawing individual genotypes
with a uniform probability.
If there are N individuals in the sample (the simugeno
object), then
each individual has a probability of 1/N to be selected.
For simumix
and as.simumix
, a simumix object. For is.simumix
, a logical.
Hinda Haned contact@hindahaned.info
"simumix"
, simugeno
for creating a simugeno object.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.