subsetData {ramwas} | R Documentation |
Subset a data (coverage) matrix and corresponding matrix of locations to a specified set of locations.
subsetCoverageDirByLocation(x, chr, start, targetdir)
x |
Name of data (coverage) directory or
list of RaMWAS parameters as described in the "RW6_param.Rmd" vignette.
|
chr |
Vector of chromosome names or numbers. |
start |
Start positions of the CpGs of interest. |
targetdir |
Directory name for the new (subset) data matrix and locations. |
The function returns nothing.
Andrey A Shabalin andrey.shabalin@gmail.com
See vignettes: browseVignettes("ramwas")
.
x = "/data/myCoverageMatrix" chr = c("chr1", "chr2", "chr3") start = c(12345, 123, 12) targetdir = "/data/subsetCoverageMatrix" ## Not run: subsetCoverageDirByLocation(x, chr, start, targetdir) ## End(Not run)