add_signif: Add statistical significance to fragments contributions

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Add statistical significance to fragments contributions

Usage

1

Arguments

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

Value

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)

Examples

1
2
3
file_name <- system.file("extdata", "free-wilson_frag_contributions.txt", package = "rspci")
df <- load_data(file_name)
df <- add_signif(df)

DrrDom/rspci documentation built on April 27, 2021, 4:26 a.m.