View source: R/aldex-internals.R
| aldex.pvals | R Documentation |
Calculate p-values adjusting for changes in sign as described by Nixon et al. (2024) in Beyond Normalization: Incorporating Scale Uncertainty in Microbiome and Gene Expression Analysis (internal only)
aldex.pvals(p.lower, p.upper, p.adjust.method, onesided = FALSE)
p.lower |
A P x D x S matrix for P covariates, D taxa/genes, and S monte carlo samples representing the lower tail p.values |
p.upper |
A P x D x S matrix for P covariates, D taxa/genes, and S monte carlo samples representing the upper tail p.values |
p.adjust.method |
An adjutment method for p.adjust |
onesided |
(default: FALSE) if sided return p-values for two-sided test. Otherwise if "lower" or "upper" return one-sided test corresponding to test that estimate is negative or positive respectively. |
A list with P x D matrices with the non-adjusted and adjusted p-values.
Justin Silverman, Kyle McGovern
Nixon G, Gloor GB, Silverman JD (2025). "Incorporating scale uncertainty in microbiome and gene expression analysis as an extension of normalization". Genome Biology. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1186/s13059-025-03609-3")}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.