poolCoverage {PureCN} | R Documentation |
Averages the coverage of a list of samples.
poolCoverage(all.data, remove.chrs = c(), w = NULL)
all.data |
List of normals, read with |
remove.chrs |
Remove these chromosomes from the pool. |
w |
|
A data.frame
with the averaged coverage over all normals.
Markus Riester
normal.coverage.file <- system.file("extdata", "example_normal.txt", package = "PureCN") normal2.coverage.file <- system.file("extdata", "example_normal2.txt", package = "PureCN") normal.coverage.files <- c(normal.coverage.file, normal2.coverage.file) pool <- poolCoverage(lapply(normal.coverage.files, readCoverageFile), remove.chrs = c("chrX", "chrY"))