tolerance.Rd
Calculates the local tolerance for every trio of genes.
tolerance(a, b, c, tolType)
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). |
Returns the value of tolerance.
See vignette for more details about the pairwise correlations.
tolerance(0.5, -0.65, 0.23, tolType = 1)#> [1] 2.273145tolerance(0.5, -0.65, 0.23, tolType = 2)#> [1] 1.396431tolerance(0.5, -0.65, 0.23, tolType = 3)#> [1] 3.666558