p_val_norm: Calculate p.value for x given set of null values using a...

View source: R/null_model_analysis.R

p_val_normR Documentation

Calculate p.value for x given set of null values using a Gaussian null pdf

Description

Calculate p.value for x given set of null values using a Gaussian null pdf

Usage

p_val_norm(x, null.values, alternative = "two.sided")

Arguments

x

numeric value

null.values

a numeric vector of null distribution samples

alternative

alterative test including: "two.sided" [default], "greater", and "less"

Value

p.value

Examples

p.val = p_val_norm(1, rnorm(1000,0,1))


PLEXI documentation built on Aug. 9, 2023, 5:08 p.m.

Related to p_val_norm in PLEXI...