Description Slots Methods Author(s) See Also Examples
View source: R/classes_constructors.R
The S4 simugeno
class is used to store existing or simulated genotypes.
tab.freq
: a list giving allele frequencies for each locus.
If there are several populations,
tab.freq
gives allele frequencies in each population
nind
: integer vector giving the number of individuals. If there are several
populations, nind
gives the numbers of individuals per population
pop.names
:factor of populations names
popind
:factor giving the population of each individual
which.loc
:character vector giving the locus names
tab.geno
:matrix giving the genotypes (in rows) for each locus (in columns). The genotype of a homozygous individual carrying the allele "12" is coded "12/12". A heterozygous individual carrying alleles "12" and "13" is coded "12/13" or "13/12".
indID
:character vector giving the individuals ID
signature(x = "simugeno")
: gives the names of the attributes of
a simugeno object
signature(object = "simugeno")
: shows a simugeno object
signature(object = "simugeno")
: prints a simugeno object
Hinda Haned contact@hindahaned.info
as.simugeno
for the simugeno class constructor,
is.simugeno
, simumix
and
tabfreq
1 | showClass("simugeno")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.