bootgen-methods: Methods used for the bootgen object.

Description Usage Arguments Author(s)

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


poppr documentation built on May 30, 2017, 6:07 a.m.

Search within the poppr package
Search all R packages, documentation and source code