nt2r | R Documentation |
Calculate r-scores (un-target) by in parallel.
nt2r(geno, nt, n_iter = 30, multi.threads = TRUE)
geno |
A numeric dataframe of genotype, column represent sites (genotype coding as 1, 0, -1) |
nt |
Numeric. Number of training set size |
n_iter |
Times of iteration. (default = 30) |
multi.threads |
Default: TRUE |
A vector of r-scores of each iteration
data(geno) ## Not run: nt2r(geno, 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.