View source: R/func__corPatternProj.R
corPatternProj | R Documentation |
This function computes a point-biserial correlation coefficient between each pattern and each projection vector. It works in a similar way as the function corCladeProj. The point-biserial correlation coefficient is a special case of the well-known Pearson correlation coefficient.
corPatternProj(pat.mat, proj.mat)
pat.mat |
A uncentred pattern matrix, which is the element alleles$B in the output of the function lmm or findPhysLink. |
proj.mat |
A projection matrix, which is the element struc$C$C in the output of the function lmm or findPhysLink. |
Yu Wan (wanyuac@126.com)
a <- lmm(...) r <- corPatternProj(pat.mat = a$alleles$B, proj.mat = a$struc$C$C)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.