packedancestrymap_to_plink | R Documentation |
This function converts EIGENSTRAT/PACKEDANCESTRYMAP format files to PLINK files, using write_plink
.
When inds
or pops
is provided, only a subset of samples will be extracted.
This function can have a high memory footprint, because data for all SNPs will be read before writing the PLINK files.
packedancestrymap_to_plink(
inpref,
outpref,
inds = NULL,
pops = NULL,
verbose = TRUE
)
inpref |
Prefix of the input files |
outpref |
Prefix of the PLINK output files |
inds |
Individuals which should be extracted |
pops |
Populations which should be extracted. Can not be provided together with |
verbose |
Print progress updates |
eigenstrat_to_plink
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.