getCoverage: caculate read coverage in the flanking region of target exons

Description Usage Arguments Value

View source: R/data.processing.R

Description

caculate read coverage in the flanking region of target exons

Usage

1
getCoverage(bamfile, region, flanking.ws = 150, read.tag.names = F)

Arguments

bamfile

- bam file of chip-seq data (bowtie alignment)

region

- a dataframe indicate chromosome, target exon start and target exon end position

Value

list contain: 1. vector of read coverage of each individual position in the left flanking region 2. vector of read coverage of each individual position in the right flanking region 3. total library size of bam file


huqiwen0313/HM_splicing documentation built on May 5, 2020, 12:36 p.m.