Description Usage Arguments Details Value Author(s) Examples
Create R objects of locations from corresponding file.
1 | bpec.loadCoords(coordsFile, header = FALSE)
|
coordsFile |
The name of the coordinate and sequence file in full, eg "coordsLocs.txt". |
header |
If TRUE, then the first row of the file is assumed to be variable names. |
Given the names of the file, this command will create an R objects of the coordinates and locations that can be fed into bpec.mcmc
.
coordsLocs |
R object of locations and corresponding haplotypes. |
Ioanna Manolopoulou & Axel Hille
1 2 3 4 5 6 7 8 9 | #to load existing example file from BPEC
coordsFile <- system.file("coordsLocsFile.txt",package = "BPEC")
coordsLocs <- bpec.loadCoords(coordsFile, header = TRUE)
## Not run:
#to load a different input file "coordsLocs.txt"
coordsLocs <- bpec.loadCoords("coordsLocs.txt", header = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.