genclone-class: GENclone and SNPclone classes
Description
GENclone is an S4 class that extends the
genind object.
SNPclone is an S4 class
that extends the genlight object.
They will have
all of the same attributes as their parent classes, but they will contain
one extra slot to store extra information about multilocus genotypes.Extends
The genclone class extends class
"genind", directly.
The snpclone class
extends class "genlight", directly.Details
The genclone and snpclone classes will allow for more optimized
methods of clone correction.
Previously for genind and genlight objects,
multilocus genotypes were not retained after a data set was subset by
population. The new mlg slot allows us to assign the
multilocus genotypes and retain that information no matter how we subset
the data set. This new slot can either contain numeric values for
multilocus genotypes OR it can contain a special internal
MLG class that allows for custom multilocus genotype
definitions and filtering.