getH2C: Calculates the community heritability metric of Shuster et...

Description Usage Arguments Author(s) Examples

View source: R/getH2C.R

Description

Conducts the community heritability calculations developed in Shuster et al. 2006 based on a single ordination axis.

Usage

1
2
3
4
5
6
getH2C(
  x,
  g = "grouping vector",
  sibs = "sibling proportion (1=clones)",
  method = "permanova"
)

Arguments

x

A single NMDS axis or a communiy matrix.

g

A vector of genotypes.

sibs

Sibling level? 1 = clonal.

method

What method? Setting to 'permanova' will return a PERMANOVA based H2C value using the methods of Lamit et al. 2014. Setting to 'nmds' will return an NMDS based H2C value following the methods of Shuster et al. 2006.

inits

Number of permutations to use for the PERMANOVA.

Author(s)

Matthew K. Lau

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

ECGen/ComGenR documentation built on July 23, 2021, 11:44 p.m.