netgwas (version 1.14.3)

lower.upper: Calculates lower band and upper band

Description

Calculates lower and upper bands for each data point, using a set of cut-points which is obtained from the Gaussian copula.

Usage

lower.upper(y)

Value

lower

A \(n\) by \(p\) matrix representing the lower band for each data point.

upper

A \(n\) by \(p\) matrix representing the upper band for each data point.

Arguments

y

An (\(n \times p\)) matrix or a data.frame corresponding to the data matrix (\(n\) is the sample size and \(p\) is the number of variables). It also could be an object of class "episim".

Author

Pariya Behrouzi and Ernst C. Wit
Maintainer: Pariya Behrouzi <pariya.behrouzi@gmail.com>

References

Behrouzi, P., and Wit, E. C. (2019). Detecting epistatic selection with partially observed genotype data by using copula graphical models. Journal of the Royal Statistical Society: Series C (Applied Statistics), 68(1), 141-160.

See Also

cutoffs and netgwas-package.

Examples

Run this code
D <- simgeno(p = 100, n = 50, k = 3)
lower.upper(D$data)

Run the code above in your browser using DataLab