calculatePvalue {CSSQ}R Documentation

Calculates P-value for the regions

Description

This calculates the adjusted P-values for the regions using column permutation and Benjamini Hochberg correction methods.

Usage

calculatePvalue(trueTstat, compare_tstats)

Arguments

trueTstat

The T-statistics value calculated using calculateTvalue for the intended comparison.

compare_tstats

The T-statistics value calculated using calculateTvalue for all other comparisons possible.

Value

A vector that is the adjusted P-value for the intended comparison.

See Also

DBAnalyze which calls this function


[Package CSSQ version 1.6.0 Index]