View source: R/impute_snp_data.R
impute_snp_data | R Documentation |
A function to impute SNP data
impute_snp_data(
obj,
X,
impute,
impute_method,
parallel,
outfile,
quiet,
seed = as.numeric(Sys.Date()),
...
)
obj |
a |
X |
A matrix of genotype data as returned by |
impute |
Logical: should data be imputed? Default to TRUE. |
impute_method |
If 'impute' = TRUE, this argument will specify the kind of imputation desired. Options are:
|
parallel |
Logical: should the computations within this function be run in parallel? Defaults to TRUE. See |
outfile |
Optional: the name (character string) of the prefix of the logfile to be written. Defaults to 'process_plink', i.e. you will get 'process_plink.log' as the outfile. |
quiet |
Logical: should messages be printed to the console? Defaults to TRUE |
seed |
Numeric value to be passed as the seed for |
... |
Optional: additional arguments to |
Nothing is returned, but the obj$genotypes
is overwritten with the imputed version of the data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.