simugeno: forensim class for simluated genotypes

Description Slots Methods Author(s) See Also Examples

View source: R/classes_constructors.R

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 h.haned@nfi.minvenj.nl

See Also

as.simugeno for the simugeno class constructor, is.simugeno, simumix and tabfreq

Examples

1
showClass("simugeno")

forensim documentation built on May 2, 2019, 11:09 a.m.

Related to simugeno in forensim...