createBins: Partitions a genome into bins of a fixed length and counts...

Description Usage Arguments Value

View source: R/base_bins.R

Description

Partitions a chromosome into fixed length bins and counts the number of extended fragments that overlap each bin

Usage

1
createBins(binSize, chipdata = NULL, chrom = NULL, fragLen = 1)

Arguments

binSize

A integer value used to partition the chromosome

chipdata

A ChIPdata object

chrom

A GRanges object specifying the genome to bin. The maximum length used to create the bins is gonna be used the integer part of (chromLen / fragLen) times fragLen for each chromosome.

fragLen

An integer value used to extend the fragments. The default value is one, to count only the 5' ends that overlaps the bins. For PE reads is going to be ignored

Value

A GRanges object. If a reads object is present then is going to count the number of extended fragments per bin


welch16/ChIPUtils documentation built on May 4, 2019, 4:18 a.m.