kernel_linear {vcpen} | R Documentation |
Variance Component Linear Kernel Matrix
Description
Variance component Linear kernel matrix from genotype dosage
Usage
kernel_linear(dose, method = "linear")
Arguments
dose |
data.frame or matrix with |
method |
type of kernel; currently only linear kernel implemented |
Value
square symmetric kernel matrix for subject similarity by genotype dosage
Author(s)
JP Sinnwell, DJ Schaid
See Also
Examples
data(vcexample)
Kern1 <- kernel_linear(dose[,which(doseinfo[,1]==1)], method="linear")
Kern1[1:5,1:5]
[Package vcpen version 1.9 Index]