View source: R/lme_mass_FDR2.R
lme_mass_FDR2 | R Documentation |
Perform two-stage FDR correction
lme_mass_FDR2(pval, sgn, maskvtx = NA, rate = 0.05, tail = 0)
pval |
Vector of p-values from |
sgn |
Vector of signs from |
maskvtx |
Indices (one-based) for vertices to include in the analysis (default: all) |
rate |
Alpha level (default: 0.05) |
tail |
One of -1 for left-sided or 0 for two-sided or 1 for right-sided hypothesis testing (default: 0) |
The function returns a list with field detvtx, sided_pval, pth, and m0.
#'
## Not run: F <- lme_mass_F(...)
## Not run: F_FDR2 <- lme_mass_FDR2(F$pval, F$sgn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.