pair.tests | R Documentation |
Internal function to calculate treeWAS terminal, simultaneous, subsequent tests, and chi-squared p-values for a given snp across pairs of phenotype levels.
pair.tests(x, y, z, method = "bonf", digits = 3)
x |
A contingency table (snps[,i] x phen) for score 1 ( |
y |
A vector of values containing pairwise score 2 ( |
z |
A contingency table (snps.rec[,i] x phen.rec) for score 3 ( |
Caitlin Collins caitiecollins@gmail.com
## Example ##
## Not run:
## basic use of fn
out <- pair.tests(x, y, z)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.