tag2bin.chr: Convert the genome coordinates of aligned reads to bin-level...

Description Usage Arguments Value Author(s) Examples

Description

Convert the genome coordinates of aligned reads to bin-level counting data for a single chromosome.

Usage

1
tag2bin.chr(tagdat, fragL = 200, binS = 200)

Arguments

tagdat

A numeric vector of genome coordinates for the starting positions of the aligned reads, with positive numbers representing the 5' strand and negative numbers representing the 3' strand.

fragL

A numeric value of the fragment length for the reads. Default: 200.

binS

A numeric value of the bin-size for the bin-level data to be constructed. Default: 200.

Value

A numeric vector of the counts for each bin.

Author(s)

Chandler Zuo zuo@stat.wisc.edu

Examples

1
2
data( tagdat_chip )
tag2bin.chr( tagdat_chip[[1]], fragL = 100, binS = 100 )

chandlerzuo/cssp documentation built on May 13, 2019, 3:23 p.m.