subsetData: Subset a data matrix and locations

Description Usage Arguments Value Author(s) See Also Examples

Description

Subset a data (coverage) matrix and corresponding matrix of locations to a specified set of locations.

Usage

1
subsetCoverageDirByLocation(x, chr, start, targetdir)

Arguments

x

Name of data (coverage) directory or list of RaMWAS parameters as described in the "RW6_param.Rmd" vignette.
Try: vignette("RW6_param","ramwas").

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.

Value

The function returns nothing.

Author(s)

Andrey A Shabalin [email protected]

See Also

See vignettes: browseVignettes("ramwas").

Examples

1
2
3
4
5
6
7
8
9
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)

ramwas documentation built on Oct. 31, 2019, 2:11 a.m.