Given a data matrix, this function will estimate the sequencing depths on the basis of the Poisson goodness-of-fit statistic. This estimate is applicable to data with any types of outcome, as it estimates under the null hypothesis. A more detailed instruction as well as sample data is available at http://www.stanford.edu/~junli07/research.html.
This function is the main function of this package. Given the data matrix and the outcome vector, this function returns the estimated permuation-based p-values, the estimated permutation-based false discovery rates, et al. A more detailed instruction as well as sample data is available at http://www.stanford.edu/~junli07/research.html.