Description Usage Arguments Value Author(s) References See Also Examples
Create input files and corresponding script for PLINK (Purcell et al. 2007) to estimate pairwise LD through function pairwiseLD
.
1 2 3 | write.plink(gp, wdir = getwd(), prefix = paste(substitute(gp)),
ld.threshold = 0, type = c("data.frame", "matrix"),
ld.window=99999)
|
gp |
|
wdir |
|
prefix |
|
ld.threshold |
|
type |
|
ld.window |
|
No value returned. Files prefix.map
, prefix.ped
and prefixPlinkScript.txt
are created in the working directory
Valentin Wimmer
Purcell S, Neale B, Todd-Brown K, Thomas L, Ferreira MAR, Bender D, Maller J, Sklar P, de Bakker PIW, Daly MJ & Sham PC (2007) PLINK: a toolset for whole-genome association and population-based linkage analysis. American Journal of Human Genetics, 81.
1 2 3 4 | ## Not run:
library(synbreedData)
write.plink(maize,type="data.frame")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.