genocount: Identifies the different genotypes in a data set

Description Usage Arguments Value Author(s) Examples

Description

Identifies the different genotypes in a ggene object. Returns a vector indicating the identity of each genotype.

Usage

1

Arguments

X

a ggene object.

Value

vec

the list of genotypes.

n

the number of different genotypes in the data set.

Author(s)

Jean-Pierre Rossi <ggene.package@gmail.com>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
data(Wagner)
count <- genocount(X=Wagner)
count

data(crypho)

#compute the weights
count <- genocount(X=crypho)
mat <- genoweight(X=crypho,genotyp=count$vec)

#compute the weighted variogram
wva <- varioWeight(X=crypho, weights=mat)

#performs the randomizations on weighted variogram
env <- randsvariog(var=wva, X=crypho, nsim=9, bounds=NULL, save.sim=FALSE, weights=mat)

ggene documentation built on May 2, 2019, 5:54 p.m.