region_coverage_matrix: Coverage matrix for regions of interest

Description Usage Arguments Value Examples

View source: R/p09_coverage_functions.R

Description

This function calls region_coverage() interanlly to calculate coverage for each sample's bigWig file. Remember that the bigWig files should be normalized to make the coverage scores comparable. Refer to region_coverage() documentation for the details on coverage calculation.

Usage

1
region_coverage_matrix(regions, exptInfo)

Arguments

regions

A GRanges object

exptInfo

A dataframe with sample information. sampleId and bwFile columns are used for coverage calculation.

Value

A coverage matrix.

Examples

1

lakhanp1/chipmine documentation built on March 6, 2021, 9:06 a.m.