getcount: get count matrix from peak file and bam files

Description Usage Arguments Value Examples

View source: R/get_count.R

Description

This function is used to get count matrix from bam files and peak file.

Usage

1
getcount(peak, bam_file_path)

Arguments

peak

Granges format of peak regions

bam_file_path

path to bam files

Value

countmatrix

count matrix, peak by sample

Examples

1
2
3
4
## Not run: 
countmat<-getcount(bed2granges('path/to/bed/file/peak.bed'),'path/to/bam/files')

## End(Not run)

jwyang16/DECODER documentation built on Nov. 4, 2019, 3:28 p.m.