sigtools_correlation: Plots a heatmap of pair-wise correlation of sets of genomic...

Description Usage Arguments Examples

View source: R/sigtools_correlation.R

Description

Plots a heatmap of pair-wise correlation of sets of genomic signals

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
sigtools_correlation(
  path_mulColBedG_1,
  header_1 = FALSE,
  prefix_1 = "set1",
  path_mulColBedG_2,
  header_2 = FALSE,
  prefix_2 = "set2",
  outdir = "correlation",
  sep = "\t",
  enrichment = FALSE,
  x_label = NA,
  y_label = NA,
  img_title = NA,
  img_width = 10,
  img_height = 10,
  fontSize = 20
)

Arguments

path_mulColBedG_1

The path to the file of multi-column bedgraph to be considered as the first set of signals

header_1

Does your file include headers? [default:FALSE]

prefix_1

Your preferred prefix for naming the signals in the first set [default:'set1_']

path_mulColBedG_2

The path to the file of multi-column bedgraph to be considered as the second set of signals

header_2

Does your file include headers? [default:FALSE]

prefix_2

Your preferred prefix for naming the signals in the second set [default:'set2_']

outdir

Name of the output directory [default:correlation]

sep

Your field separator character [default:'\t']

enrichment

Do you like to plot the enrichment? [default:FALSE]

x_label

Label for the X axis

y_label

label for the Y axis

img_title

Title of the graph

img_width

Width of the saved image (cm) [default:10]

img_height

Height of the saved image (cm) [default:10]

fontSize

The font size of the saved image [default:20]

Examples

1
sigtools_correlation(path_mulColBedG_1 = "./test_data/E003-assays_chr21_bin200_bwtool.mcBedGraph", header_1 = TRUE, path_mulColBedG_2 = "./test_data/E003-assays_chr21_bin200_bwtool.mcBedGraph", header_2 = TRUE, outdir = "correlation", img_width = 15, img_height = 15)

shohre73/sigtools documentation built on April 2, 2021, 4:52 a.m.