Description Usage Arguments Value Examples
Add statistical significance to fragments contributions
1 | add_signif(df, FUN = wilcox.test)
|
df |
input data.frame. |
FUN |
function which returns p.value within the list of named values. By default wilcox.test is used, t.test can be used also |
data.frame with added two columns names pvalue and ptext: with numerical p.value and with string representation of p.value (*** < 0.001, ** < 0.01, * < 0.05)
1 2 3 | file_name <- system.file("extdata", "free-wilson_frag_contributions.txt", package = "rspci")
df <- load_data(file_name)
df <- add_signif(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.