IDR2D is an extension of the original method IDR (Li et al. 2011), which was intended for ChIP-seq peaks (or one-dimensional genomic data). This package applies the method to two-dimensional genomic data, such as interactions between two genomic loci (also called anchors). Genomic interaction data is generated by genome-wide methods such as Hi-C (Berkum et al. 2010), ChIA-PET (Fullwood and Ruan 2009), and HiChIP (Yan et al. 2014).
Load example data:
Only the first 1000 interactions are shown.
Only the first 1000 interactions are shown.
Load the package:
Estimate IDR:
idr_results <- estimate_idr2d(rep1_df, rep2_df,
value_transformation = "log_additive_inverse")
rep1_idr_df <- idr_results$rep1_df
Important to note here is that the appropriate value transformation
depends on the semantics of the value column (always the
seventh column) in rep1_df
and rep2_df
. This
column is used to establish a ranking between interactions, with highly
significant interactions on top of the list and least significant
interactions (i.e., most likely noise) at the bottom of the list. The
ranking is established by the value column, sorted in
descending order. Since our value column contains FDRs (the
lower, the more significant), we need to transform the values to comply
with the assumption that high values indicate high significance. For
p-values and p-value derived measures (like Q values), the
log_additive_inverse
transformation (-log(x)
)
is recommended.
Only the first 1000 observations are shown.
## analysis type: IDR2D
## number of interactions in replicate 1: 9928
## number of interactions in replicate 2: 10326
## number of reproducible interactions: 5907
## number of interactions with significant IDR (IDR < 0.05): 180
## number of interactions with highly significant IDR (IDR < 0.01): 116
## percentage of interactions with significant IDR (IDR < 0.05): 1.74 %
Most of the functionality of the IDR2D package is also offered through the website at https://idr2d.mit.edu.
For a more detailed discussion on IDR2D, please have a look at the IDR2D paper:
IDR2D identifies reproducible genomic
interactions
Konstantin Krismer, Yuchun Guo, and David K. Gifford
Nucleic Acids Research, Volume 48, Issue 6, 06 April 2020, Page e31;
DOI: https://doi.org/10.1093/nar/gkaa030