nt2r: Simulate r-scores of each training set size

View source: R/SSDFGS.R

nt2rR 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)

TSDFGS documentation built on June 7, 2022, 5:06 p.m.