Methods used for the bootgen object.

Share:

Description

This is not designed for user interaction.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.