| simugeno {forensim} | R Documentation |
forensim class for simluated genotypes
Description
The S4 simugeno class is used to store existing or simulated genotypes.
Slots
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
Methods
- names
signature(x = "simugeno"): gives the names of the attributes of
a simugeno object
- show
signature(object = "simugeno"): shows a simugeno object
- print
signature(object = "simugeno"): prints a simugeno object
Author(s)
Hinda Haned haned@biomserv.univ-lyon1.fr
See Also
as.simugeno for the simugeno class constructor,
is.simugeno, simumix and
tabfreq
Examples
showClass("simugeno")
[Package
forensim version 1.1-1
Index]