plot_heatmap_correlations: Plot the Heatmap of Correlation Or Cross-correlation of...

Description Usage Arguments

View source: R/plotting_tools.R

Description

Plot correlation of dataset1 or cross-correlation between dataset1 and dataset2, in specified window sizes pairs.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
plot_heatmap_correlations(
  dataset1,
  dataset2 = NULL,
  window_size1,
  window_size2 = NULL,
  response1,
  response2 = NULL,
  corr_method,
  cores,
  name,
  ...
)

Arguments

dataset1

A numeric dataframe or matrix with each column as a trace of type 1.

dataset2

A numeric dataframe or matrix with same dimension as dataset1 representing a different type of trace.

window_size1

A numeric vector representing the window size corresponding to dataset1.

window_size2

A numeric vector representing the window size corresponding to dataset2 or dataset1 if dataset2 is NULL.

response1

A character vector representing the type of aggregation of dataset1, can be either "max" or "avg"

response2

A character vector representing the type of aggregation of dataset2, can be either "max" or "avg" or NULL if dataset2 is NULL.

corr_method

A character representing the type of correlation to be calculated.

cores

A numeric value representing the number of threads for parallel programming, not supported for windows users.

name

A character that represents the identifier or name of the plot.

...

Characters that represent the name of parent directories that will be passed to write_location_check.


carlonlv/DataCenterSim documentation built on Jan. 9, 2022, 3:26 p.m.