pvalue_nums: Return string indicating significance level bin of p.value...

View source: R/general_utilities.R

pvalue_numsR Documentation

Return string indicating significance level bin of p.value provided

Description

Method to determine significance level bin and return a formatted string. Duplicate of binfotron::pvalue_stars but returns values like '<= 0.01' rather than '**'

Usage

pvalue_nums(pvalues, sig_levels = c(0.05, 0.01, 0.001))

Arguments

sig_levels

vector of PValues to define our bin levels

p.value

double representing the p.value to obtain significance level for

Value

Returns string representing the significance bin of this p.value


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.