tolerance: Tolerance level between 3 pairwise correlations implemented...

View source: R/RcppExports.R

toleranceR Documentation

Tolerance level between 3 pairwise correlations implemented in C/C++

Description

Calculates the local tolerance for every trio of genes.

Usage

tolerance(a, b, c, tolType)

Arguments

a

Correlation value between the genes A and B.

b

Correlation value between the genes B and C.

c

Correlation value between the genes A and C.

tolType

Calculation type for tolerance (1 for mean, 2 for min and 3 for max).

Value

Returns the value of tolerance.

See Also

See vignette for more details about the pairwise correlations.

Examples

tolerance(0.5, -0.65, 0.23, tolType = 1)
tolerance(0.5, -0.65, 0.23, tolType = 2)
tolerance(0.5, -0.65, 0.23, tolType = 3)


cbiagii/pcitRif documentation built on Feb. 5, 2023, 9:03 p.m.