tag2bin.chr {CSSP} | R Documentation |
Convert the genome coordinates of aligned reads to bin-level counting data for a single chromosome.
tag2bin.chr(tagdat, fragL = 200, binS = 200)
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. |
A numeric vector of the counts for each bin.
Chandler Zuo zuo@stat.wisc.edu
data( tagdat_chip ) tag2bin.chr( tagdat_chip[[1]], fragL = 100, binS = 100 )