Description Usage Arguments Value Examples
View source: R/CIVMR_function.R
This function remove highly correlated IVs. An upgraded function SNP_reduction() is suggested.
1 | IV_reduction(snp_matrix, crit_high_cor = 0.8)
|
snp_matrix: |
IV matrix with dimension n * p. |
crit_high_cor: |
criteria to choose highly correlated SNPs. default is 0.8 correlation. |
sel_snp: the selected IVs.
id_snp: the ids (columns) of selected IVs in the original IV matrix.
1 2 | data(simulation)
snp.rdc <- IV_reduction(simulation$G)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.