View source: R/legend_annotation_utils.R
format_pvalue_smart | R Documentation |
Smart P-value Formatting
format_pvalue_smart(
p_values,
format = "smart",
stars = TRUE,
thresholds = c(0.001, 0.01, 0.05),
star_symbols = c("***", "**", "*")
)
p_values |
Numeric vector of p-values |
format |
Character string specifying format type |
stars |
Logical, whether to include star symbols |
thresholds |
Numeric vector of significance thresholds |
star_symbols |
Character vector of star symbols |
Character vector of formatted p-values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.