A function to help you plot the sample specific peaks with heatmap.

plotClusterSpecificPeak(
  specific_peak,
  zscore_min = -2,
  zscore_max = 2,
  cluster_N = 10,
  cluster_col = FALSE,
  color = NA,
  save_path = NA,
  file_prefix = NA,
  figure_height = 14,
  figure_width = 7
)

Arguments

specific_peak

A sample specific peak file obtained by **getSpecificPeak**.

zscore_min

The maximum value of the zscore. Default: -2.

zscore_max

The minium value of the zscore. Default: 2.

cluster_col

Wheather to clustering columns. Default: FALSE.

color

Providing your color.

save_path

The path to save the sample specific peak pdf file.

file_prefix

The save file prefix.

figure_height

The PDF height. Default: 14.

figure_width

The PDF width. Default: 7.

cluster_num

The cluster number obtained by **getClusterNum**.

Examples

 plotClusterSpecificPeak(sp_peaks, cluster_num = 7)
#> Error in plotClusterSpecificPeak(sp_peaks, cluster_num = 7): unused argument (cluster_num = 7)