draw_idr_distribution_histogram {idr2d} | R Documentation

## Create histogram of IDR values

### Description

Creates diagnostic plots to visualize the results of `estimate_idr`.

### Usage

    draw_idr_distribution_histogram(
      df,
      remove_na = TRUE,
      xlab = "IDR",
      ylab = "density",
      title = "IDR value distribution"
    )

### Arguments

`df` | part of output of `estimate_idr`, a data frame with at least the following named columns:
`idr` | IDR of the peak and the corresponding peak in the other replicate.
`remove_na` | logical; should NA values be removed?
`xlab` | character; x axis label
`ylab` | character; y axis label
`title` | character; plot title

### Value

ggplot2 object; IDR distribution histogram

### Examples

    idr_results <- estimate_idr1d(idr2d:::chipseq$rep1_df,
                                  idr2d:::chipseq$rep2_df,
                                  value_transformation = "log")
    draw_idr_distribution_histogram(idr_results$rep1_df)

[Package idr2d version 1.1.4 Index]