| adjust_p | R Documentation |
Adjust p-values from multiple tests and optionally annotate significance stars
adjust_p(df, col, method = "fdr", digits = 3, stars = TRUE)
df |
A data frame or tibble containing the column to adjust. |
col |
A tidyselect expression specifying the p-value column to adjust. |
method |
Character string specifying the p-value adjustment method.
See |
digits |
Integer; number of decimal places for rounding. |
stars |
Logical or character; if |
A modified data frame with:
Adjusted p-values in the selected column.
(Optionally) a new column stars containing significance symbols.
An attribute "adjust" on the data frame storing the method.
A "round" attribute on the p-value column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.