Description Usage Arguments Value Author(s) Examples
Identifies the different genotypes in a ggene
object. Returns a vector indicating the identity of each genotype.
1 | genocount(X)
|
X |
a |
vec |
the list of genotypes. |
n |
the number of different genotypes in the data set. |
Jean-Pierre Rossi <ggene.package@gmail.com>
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.