compare_motif_pairs: Compare pairs of motifs between two interaction datasets

View source: R/compare_motif_pairs.R

compare_motif_pairsR Documentation

Compare pairs of motifs between two interaction datasets

Description

Compute the log-likelihood ratio that a motif pair is differential between two interaction datasets. Note that motif pair significance should have been computed using the same method for both datasets.

Usage

compare_motif_pairs(
  interaction_data1,
  interaction_data2,
  differential_p = 0.05
)

Arguments

interaction_data1

an interactionData object of paired genomic regions that has been scanned for significant motif:motif interactions

interaction_data2

an interactionData object of paired genomic regions that has been scanned for significant motif:motif interactions

differential_p

threshold for significance of differential p-value

Value

a matrix of the log likelihood ratio of motif pairs that are significantly differential between two interactionData sets

Author(s)

Jennifer Hammelman

Examples

pheatmap::pheatmap(compare_motif_pairs(spatzie::int_data_k562,
                                       spatzie::int_data_mslcl, 5e-06),
                   fontsize = 6)

jhammelman/spatzie documentation built on Feb. 8, 2024, 8:50 a.m.