genclone-method: Methods used for the genclone object

initialize,genclone-methodR Documentation

Methods used for the genclone object

Description

Default methods for subsetting genclone objects.

Usage

## 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.

Author(s)

Zhian N. Kamvar


poppr documentation built on May 29, 2024, 5:54 a.m.