iProFun.FWER: Calculate FWER

View source: R/iProFun.detection.R

iProFun.FWERR Documentation

Calculate FWER

Description

This function calculates FWER across all the outcome variables for the same predictor data type (e.g. mutation), directly from regression results without considering posterior probabilities of association patterns. This strategy is preferred for data types that have few genes that cannot reliably infer association patterns.

Usage

iProFun.FWER(reg.all, FWER.Index = 0)

Arguments

reg.all

Linear regression analysis summaries from iProFun.reg.

FWER.Index

Index the predictor data types that calculate FWER directly

Value

It returns original p-values and FWER with and without filter

pvalue:

The p-value of linear regression with Student's t distribution

FWER:

The FWER with Bonferroni correction for all genes

xName:

The gene name of the predictors


songxiaoyu/iProFun documentation built on Dec. 8, 2022, 3:54 p.m.