Description Usage Arguments Value
Function to extract p-values from a permutation test dataset
1 | extractPV(permSTAT, modelratio, trm = 100)
|
permSTAT |
a three dimensional array with 1. = OTUs, 2. = statistics, 3. = random permutation iterations |
modelratio |
1x1 scalar with the observed modelratio |
trm |
1x1 scalar, at which level to truncate the OR (OR>trm := trm, OR<1/trm := 1/trm) |
data.frame with one row including pv (permutation p.value), SElgratio (standar error based on zero-centered normal assumptions and representability from the permutation null distribution, and some central limit theorem), permmedian (the median of the permuted null distribution), modelratio (the model ratio - as specified by input)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.