snpclone-method: Methods used for the snpclone object

[,snpclone,ANY,ANY,ANY-methodR Documentation

Methods used for the snpclone object

Description

Default methods for subsetting snpclone objects.

Usage

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

## S4 method for signature 'snpclone'
initialize(.Object, ..., mlg, mlgclass = TRUE)

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

Arguments

x

a snpclone object

i

vector of numerics indicating number of individuals desired

j

a vector of numerics corresponding to the loci desired.

...

passed on to the genlight object.

mlg.reset

logical. Defaults to FALSE. If TRUE, the mlg vector will be reset

drop

set to FALSE

.Object

a character, "snpclone"

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.

object

a snpclone object

Author(s)

Zhian N. Kamvar


grunwaldlab/poppr documentation built on March 18, 2024, 11:24 p.m.