Learn R Programming

poppr (version 2.5.0)

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

Description

Default methods for subsetting genclone objects.

Usage

# S4 method for genclone
initialize(.Object, ..., mlg, mlgclass = TRUE)

# S4 method for genclone,ANY,ANY,ANY [(x, i, j, ..., mlg.reset = FALSE, drop = FALSE)

# S4 method for genclone show(object)

# S4 method for 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