Summerizebg: Summerizing background noise for each promoter region

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Summerizing background noise for each promoter region based on methylation levels

Usage

1
Summerizebg(dataMat_bg, gaplength)

Arguments

dataMat_bg

A matrix or data.frame containing background mapped reads for selected bins

gaplength

Gap length of bins

Details

This function is generally called after bedtoolsr for counting reads mapped to selected bins for background annotation constructed by IdentifyBackground

Value

A data.frame of the same dimension as promoter mapped reads

Author(s)

Yuanhang Liu

References

https://github.com/Liuy12/MBDDiff

See Also

IdentifyBackground, Summerizebg

Examples

1
2
3
4
5
	## Not run: 
		Background_counts <- bedtoolsr(bamdir = '/path/to/bam/files', bed = '/path/to/bg_bed/file')
		Background_counts_summe <- Summerizebg(Background_counts[[1]], Background_counts[[2]])
		
## End(Not run)

Liuy12/MBDDiff documentation built on May 7, 2019, 2 p.m.