Description Usage Arguments Value Author(s) See Also Examples
Constructor for tabfreq objects.
The function tabfreq
creates a tabfreq object from
a data frame or a matrix giving allele frequencies for a single population in the Journal of Forensic Sciences (JFS) format for population genetic data.
Whene multiple populations are considered, data shall be given as a list, where each element is either a matrix or a data frame in the JFS format, and the
populations names must be specified.
The function as.tabfreq
is an alias for the tabfreq
function.
is.tabfreq
tests if an object is a valid tabfreq object.
Note: to get the manpage about tabfreq, please type 'class ? tabfreq'.
1 2 3 | tabfreq(tab,pop.names=NULL)
as.tabfreq(tab,pop.names=NULL)
is.tabfreq(x)
|
tab |
either a matrix or a data.frame of markers allele frequencies given in the Journal of Forensic Sciences format for population genetic data |
pop.names |
(optional) a factor giving the populations names. For a single population in |
x |
an object |
For tabfreq
and as.tabfreq
, a tabfreq object. For is.tabfreq
, a logical.
Hinda Haned contact@hindahaned.info
"tabfreq"
, simugeno
for creating a simugeno object from a tabfreq object.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.