Learn R Programming

poppr (version 2.1.1)

initialize,genclone-method: Methods used for the genclone object

Description

Default methods for subsetting genclone objects.

Usage

## S3 method for class 'genclone':
initialize(.Object, ..., mlg, mlgclass = TRUE)

## S3 method for class 'genclone,ANY,ANY,ANY': [(x, i, j, ..., mlg.reset = FALSE, drop = FALSE)

## S3 method for class 'genclone': show(object)

## S3 method for class 'genclone': print(x, ..., fullnames = TRUE)

Arguments

.Object
a character, "genclone"
...
passed on to the genind object.
mlg
a vector where each element assigns the multilocus genotype of that individual in the data set.
mlgclass
a logical value specifying whether or not to translate the mlg object into an MLG class object.
x
a genclone object
i
vector of numerics indicating number of individuals desired
j
a vector of numerics corresponding to the loci desired.
mlg.reset
logical. Defaults to FALSE. If TRUE, the mlg vector will be reset
drop
set to FALSE
object
a genclone object
fullnames
logical. If TRUE, then the full names of the populations will be printed. If FALSE, then only the first and last three population names are displayed.
gen
"genind" object
loc
passed on to genind object.
treatOther
passed on to genind object.
quiet
passed on to genind object.
x
a genclone object