Description Usage Arguments Value Author(s) Examples

Convert the genome coordinates of aligned reads to bin-level counts for all chromosomes.

1 | ```
tag2bin(tagdat, fragL = 200, binS = 200, prob = 1)
``` |

`tagdat` |
A list of the genome coordinates for starting positions of each read, with positive numbers representing the 5' strand and negative numbers representing the 3' strand. Each list component corresponds to a single chromosome. |

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

`binS` |
A numeric value for the bin-size for the bin-level counts to be constructed. Default: 200. |

`prob` |
A numeric value for the proportion of randomly sampled reads that will be used to create bin data. Default: 1 (use all reads). |

A list of the bin-level counts for each chromosome.

Chandler Zuo zuo@stat.wisc.edu

1 2 | ```
data( tagdat_chip )
tag2bin( tagdat_chip, fragL = 100, binS = 100 )
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.