View source: R/gscramble2plink.R
gscramble2plink | R Documentation |
Writes genetic and individual information in 'gscramble's
I_meta, M_meta, and Geno like objects into a uncompressed plink
.ped
and .map
files.
gscramble2plink(I_meta, M_meta, Geno, prefix = tempfile())
I_meta |
a tibble of individual meta data
with at least the columns of |
M_meta |
a tibble of marker meta data with at least the columns
of |
Geno |
a character matrix of genotypes. Num-indivs rows and num-markers * 2 columns, with missing denoted denoted by NA. |
prefix |
the file path and prefix into which to write out the files |
Returns TRUE if successful.
gscramble2plink(I_meta, M_meta, Geno)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.