nt2r {TSDFGS} | R Documentation |
Simulate r-scores of each training set size
Description
Calculate r-scores (un-target) by in parallel.
Usage
nt2r(geno, nt, n_iter = 30, multi.threads = TRUE)
Arguments
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 |
Value
A vector of r-scores of each iteration
Examples
data(geno)
## Not run: nt2r(geno, 50)
[Package TSDFGS version 2.0 Index]