View source: R/visualization.R
draw_rank_idr_scatterplot | R Documentation |
Creates diagnostic plots to visualize the results of
estimate_idr
.
draw_rank_idr_scatterplot(
df,
remove_na = TRUE,
xlab = "rank in replicate 1",
ylab = "rank in replicate 2",
log_idr = FALSE,
title = "rank - IDR dependence",
color_gradient = c("rainbow", "default"),
alpha = 1,
max_points_shown = 2500
)
df |
part of output of
| ||||||
remove_na |
logical; should NA values be removed? | ||||||
xlab |
character; x axis label | ||||||
ylab |
character; y axis label | ||||||
log_idr |
logical; use logarithmized IDRs for colors to better distinguish highly significant IDRs | ||||||
title |
character; plot title | ||||||
color_gradient |
character; either "rainbow" or "default" | ||||||
alpha |
numeric; transparency of dots, from 0.0 - 1.0, where 1.0 is completely opaque; default is 1.0 | ||||||
max_points_shown |
integer; default is 2500 |
ggplot2 object; IDR rank scatterplot
idr_results <- estimate_idr1d(idr2d:::chipseq$rep1_df,
idr2d:::chipseq$rep2_df,
value_transformation = "log")
draw_rank_idr_scatterplot(idr_results$rep1_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.