netgwas (version 0.0.1-1)

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)

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".

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.

References

Behrouzi, P., and Wit, E. C. (2017a). Detecting Epistatic Selection with Partially Observed Genotype Data Using Copula Graphical Models. arXiv preprint, arXiv:1710.00894.

See Also

cutoffs and netgwas-package.

Examples

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

Run the code above in your browser using DataLab