View source: R/prot_p_adjust_protwise.R
prot.p.adjust_protwise | R Documentation |
Given matrix or a list of matrices with a column containing p-values and a contrast matrix, adds a column containing Holm-adjusted p-values correcting for the number of independent contrasts. This function can also be used to calculate the corrected p-values in the second stage when performing stage-wise testing.
prot.p.adjust_protwise(coefmatlist, L, method = "Holm", pcol = "pval", qname = "qval", stage2 = FALSE, significant_stage1 = NULL)
coefmatlist |
Either a matrix containing a column with p-values or a list of such matrices. |
L |
A contrast matrix with the parameter levels as rows and a column for each contrast. |
method |
Correction method. Can be abbreviated. Defaults to "Holm", which is currently the only available option. |
pcol |
A character string or numeric index indicating the column containing the p-values. Defaults to "pval". |
qname |
A character string indicating the name that will be given to the column containing the q-values. Defaults to "qval". |
stage2 |
Set this to |
significant_stage1 |
Only used when |
Depending on the input, either a matrix or a list of matrices with an extra numeric column containing corrected p-values.
#....
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.