| SSDFGS | R Documentation |
This function is designed to generate an operating curve for sample size determination
SSDFGS(geno, nt = NULL, n_iter = NULL, multi.threads = FALSE, threads = NULL)
geno |
A numeric data frame carried genotype information (column: PCs, row: sample) |
nt |
A numeric vector carried training set sizes for r-score simulation. |
n_iter |
Number of iterations for estimating parameters. |
multi.threads |
Default: FALSE. If TRUE, the simulations run in parallel (OpenMP) on 75% of the available processors (limited by |
threads |
Default: NULL. The number of threads; it overrides |
A list with the operating curve and growth curve figures (OC.fig and GC.fig; ggplot objects, or NULL when the ggplot2 package is not installed), the logistic growth curve parameters, and the operating curve data (OC.fit).
Jen-Hsiang Ou & Po-Ya Wu
data(geno)
## Not run: SSDFGS(geno)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.