bootgen-methods: Methods used for the bootgen object.

[,bootgen,ANY,ANY,ANY-methodR Documentation

Methods used for the bootgen object.

Description

This is not designed for user interaction.

Usage

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

## S4 method for signature 'bootgen'
dim(x)

## S4 method for signature 'bootgen'
x$name

## S4 method for signature '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(s)

Zhian N. Kamvar


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