genclone-method: Methods used for the genclone object

Description Usage Arguments Author(s)

Description

Default methods for subsetting genclone objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'genclone'
initialize(.Object, ..., mlg, mlgclass = TRUE)

## S4 method for signature 'genclone,ANY,ANY,ANY'
x[i, j, ..., mlg.reset = FALSE, drop = FALSE]

## S4 method for signature 'genclone'
show(object)

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

Author(s)

Zhian N. Kamvar


poppr documentation built on Jan. 13, 2021, 8:33 a.m.