Learn R Programming

netgwas (version 1.14.3)

cutoffs: Cut-points

Description

Calculates cut-points of ordinal variables with respect to the Gaussian copula.

Usage

cutoffs(y)

Value

cutoffs

A \(p\) by \((k + 1)\) matrix representing the cut-point values under the Gaussian copula, where \(k\) defines the number of categories in the dataset.

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

Author

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

Details

The relationship between \(j\)th variable and \(j\)th latent variable is expressed through this set of cut-points.

References

1. 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.
2. Behrouzi, P., and Wit, E. C. (2018). De novo construction of polyploid linkage maps using discrete graphical models. Bioinformatics.
3. Behrouzi, P., and Wit, E. C. (2017c). netgwas: An R Package for Network-Based Genome-Wide Association Studies. arXiv preprint, arXiv:1710.01236.

See Also

lower.upper, simgeno and netgwas-package.

Examples

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

Run the code above in your browser using DataLab