perm_pe: Exact permutation p-values

Description Usage Arguments Author(s) References

View source: R/perm_pe.R

Description

Calculates exact p-values for permutation tests when permutations are randomly drawn with replacement. This implementation is based on

Usage

1
perm_pe(nperm_supobs, nperm_eff, total_possible_nperm)

Arguments

nperm_supobs

number of permutations that yielded test statistics at least as extreme as the observed data. Can be a vector or an array of values.

nperm_eff

number of permutations effectively computed.

total_possible_nperm

total number of permutations possible.

Author(s)

Belinda Phipson and Gordon Smyth (adapted by Boris Hejblum)

References

Phipson B, and Smyth GK (2010). Permutation p-values should never be zero: calculating exact p-values when permutations are randomly drawn. Statistical Applications in Genetics and Molecular Biology, Volume 9, Issue 1, Article 39. http://www.statsci.org/smyth/pubs/PermPValuesPreprint.pdf


tcgsaseq documentation built on Sept. 13, 2020, 5:13 p.m.