A function to compare the Tn5 signal around the motif in the whole genome.

compareFootprints(
  samples,
  motif,
  smooth_window = 5,
  flanking_length = 200,
  N_cores = 1,
  color = NA,
  save_path = NA,
  file_prefix = NA
)

Arguments

samples

Samples used to compare the foorprint score.

motif

Specific motifs ID. Note the inclusion of the suffix (_MAxxx).

smooth_window

The size of the window used to smooth the lines.

flanking_length

The flanking length to calculate and visualisation.

color

The color list.

save_path

The path to save the plot.

file_prefix

The prefix of the PDF file.

Examples

  compareFootprints(samples = c("CD8pos_T","Monocytes"),motif = "Arntl_MA0603.1",bindetect_path = "F:/CAT/example/BINDetect/",signal_path = "F:/CAT/example/ATACcorrect/")
#> Error in compareFootprints(samples = c("CD8pos_T", "Monocytes"), motif = "Arntl_MA0603.1",     bindetect_path = "F:/CAT/example/BINDetect/", signal_path = "F:/CAT/example/ATACcorrect/"): unused arguments (bindetect_path = "F:/CAT/example/BINDetect/", signal_path = "F:/CAT/example/ATACcorrect/")