Learn R Programming

poppr (version 2.9.6)

[,bootgen,ANY,ANY,ANY-method: Methods used for the bootgen object.

Description

This is not designed for user interaction.

Usage

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

# S4 method for bootgen dim(x)

# S4 method for bootgen $(x, name)

# S4 method for bootgen initialize(.Object, gen, na = "mean", freq = TRUE)

Arguments

x

a "bootgen" object

i

vector of numerics indicating number of individuals desired

j

a vector of numerics corresponding to the loci desired.

...

unused.

drop

set to FALSE

.Object

a character, "bootgen"

gen

a genind, genclone, or genpop object

na

how missing data should be treated. Default is "mean", averaging over other values in the matrix. Possible values are listed in tab.

freq

if TRUE, the matrix will be a genotype frequency matrix. If FALSE, the matrix will be allele counts.

Author

Zhian N. Kamvar