mkGenABELtped | R Documentation |
Generate a PLINK TPED file from the specified Mega2 SQLite database. The file is named "prefix".tped If the markers argument is.null(), the entire envir$markers set is include; otherwise the markers argument MUST be a subset of the envir$markers data.frame – same columns, but fewer rows.
mkGenABELtped(prefix, markers = NULL, mapno = 0, envir)
prefix |
prefix for .tped file name |
markers |
markers selected to be in output file |
mapno |
specify which map index to use for genetic distances |
envir |
'environment' containing SQLite database and other globals |
None
## Not run:
db = system.file("exdata", "seqsimm.db", package="Mega2R")
ENV = read.Mega2DB(db)
mkGenABELtped("foo", NULL, 0, ENV)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.