cd_score | R Documentation |
This function calculate CD-score doi:10.1186/1297-9686-28-4-359 by given training set and test set.
cd_score(X, X0)
X |
A numeric matrix. The training set genotypic information matrix can be given as genotype matrix (coded as -1, 0, 1) or principle component matrix (row: sample; column: marker). |
X0 |
A numeric mareix. The test set genotypic information matrix can be given as genotype matrix (coded as -1, 0, 1) or principle component matrix (row: sample; column: marker). |
A floating-point number, CD score.
Jen-Hsiang Ou
data(geno) ## Not run: cd_score(geno[1:50, ], geno[51:100])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.