calculate_fwer: Calculate the outlier z score corresponding to a given...

Description Usage Arguments Value

View source: R/calculate_fwer.R

Description

Use Bonferroni correction to calculate the Z score that corresponds to a family-wide error rate at a given alpha.

Usage

1
calculate_fwer(mat, alpha = 0.05)

Arguments

mat

a numeric matrix, with nodes (e.g., analytes such as genes, proteins, or metabolites) in columns, and samples in rows

alpha

type I error associated with the hypothesis test; defaults to 0.05

Value

the threshold below which z scores can be considered outliers


skinnider/modern documentation built on Feb. 20, 2020, 1:52 p.m.