draw_idr_distribution_histogram: Create histogram of IDR values

Description Usage Arguments Value Examples

View source: R/visualization.R

Description

Creates diagnostic plots to visualize the results of estimate_idr.

Usage

1
2
3
4
5
6
7
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

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

idr2d documentation built on Nov. 8, 2020, 6:16 p.m.