View source: R/readIncludedSites.r
| readIncludedSites | R Documentation |
Imports a BED-like file and optionally subsets sites.
readIncludedSites(includedSites, ChosenSites = "all")
includedSites |
Path to a BED-like file, ideally output from |
ChosenSites |
Logical or numeric vector specifying sites to retain, or |
A data frame containing the selected sites with 1-based coordinates.
## Not run:
# Run this example in a working directory with write permissions
myo <- system.file("extdata", "myotis.vcf", package = "diemr")
vcf2diem(myo, "myo")
readIncludedSites("myo-001.txt")
readIncludedSites("myo-001.txt", ChosenSites = 2:7)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.