A vector or matrix of counts. When x a matrix, the test is performed row by row.
tx
A vector or matrix of the total sample counts. When tx is a matrix, the number of rows must be equal to the number of rows of x.
group
A vector of group indicators.
alternative
A character string specifying the alternative hypothesis: "two.sided" (default), "greater" or "less".
n.threads
The number of threads to be used. When n.threads is 0, the maximal number of CPU cores is used. When n.threads is -1 (default), one CPU core less than the maximum is used, and so on.
verbose
A logical value. If TRUE (default), status information is printed.
Author
Thang V. Pham
Details
This test is designed for independent samples, two or more groups.
References
Pham TV, Piersma SR, Warmoes M, Jimenez CR (2010) On the beta binomial model for analysis of spectral count data in label-free tandem mass spectrometry-based proteomics. Bioinformatics, 26(3):363-369.