create.hex.summary.plot {RnBeads} | R Documentation

## create.hex.summary.plot

### Description

Creates a summary plot binning the data given by a certain quantity in heagonal bins

### Usage

    create.hex.summary.plot(df2p, x = colnames(df2p)[1], y = colnames(df2p)[2],
      q = colnames(df2p)[3], bins = 128, fun = median, ...)

### Arguments

`df2p` | `data.frame` to be plotted.
`x` | name of the variable in `df2p` considered as x-axis
`y` | name of the variable in `df2p` considered as y-axis
`q` | name of the variable in `df2p` considered as quantity to be summarized over bins
`bins, fun, ...` | arguments to be passed on to `stat_summary_hex`

### Value

`ggplot` object

### Author(s)

Fabian Mueller

[Package RnBeads version 1.10.8 Index]