read.coverages: Helper function to read coverages from file system

Description Usage Arguments Value

View source: R/read.coverages.R

Description

Coverages are read from tab separated files and stored in a coverage matrix. All coverage files need to refer to the same panel of targets.

Usage

1
read.coverages(chip.names, file.names, anno.col="Target")

Arguments

chip.names

A character vector comprizing the chip names.

file.names

A character vector compizing the names of tab separated files. Each file should contain the coverages of the same sequencing panel (rows) in a cohort of samples (columns).

anno.col

The column in input files that compizes the names of the targets. The targets must belong to the same sequencing panel for all input files.

Value

Matrix of coverages of each target sequence (rows) in each sample (colums).


ioncopy documentation built on Aug. 11, 2020, 5:08 p.m.