tag2bin.chr {CSSP}R Documentation

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.

Value

A numeric vector of the counts for each bin.

Author(s)

Chandler Zuo zuo@stat.wisc.edu

Examples

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

[Package CSSP version 1.31.0 Index]