tag2bin.chr: Convert the genome coordinates of aligned reads to bin-level counting data for a single chromosome.
Description
Convert the genome coordinates of aligned reads to bin-level counting data for a single chromosome.
Usage
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.