hexbinPlot: Creates a quick hexbin plot to check the relationship between...

Description Usage Arguments Value

View source: R/base_bins.R

Description

Creates a quick hexbin plot to visualize the relationship between two ChIPdata objects

Usage

1
2
hexbinPlot(x, y, binSize, log = FALSE, nrBins = 40, chrom = NULL,
  fragLen = 1)

Arguments

x

A ChIPdata object that corresponds to the x-axis

y

Another ChIPdata object, this one correspond to the y-axis

binSize

A integer value used to partition the chromosome

log

A logical flag that indicates if log10 scale is going to be used in the axes. The default value is FALSE

nrBins

Integer value with the number of bins used to build the plot. The default value is 100

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

Value

A ggplot object with the hexbin plot


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