Skip to content

Summarizes active predicted TFBS and footprint signal for each TF. A TFBS is active when its footprint is bound and its TF is expressed in the condition.

Usage

plot_tfbs_condition_comparison(
  module1,
  multiomic_data = NULL,
  cond1,
  cond2,
  pseudocount = 1,
  label_top_n = 15L,
  verbose = TRUE
)

Arguments

module1

A `predict_tfbs()` result, Module 1 output directory, predicted TFBS table, table path, or manifest path.

multiomic_data

Optional CraftGRN multiomic object. It may be omitted when it is present in `module1`.

cond1, cond2

Condition names. Changes are computed as cond1 relative to cond2.

pseudocount

Positive pseudocount for log2 fold changes.

label_top_n

Number of the most divergent TFs to label.

verbose

Emit concise progress messages.

Value

A ggplot object with the TF summary attached as `tfbs_summary`.