trend_plot_tinyClusters: Trend plot of outlier clusteres

Description Usage Arguments

View source: R/trend_plot_tinyClusters.r

Description

Plotting the number of tiny clusters and unclassified cases as the subregional size (hex_len) and different number of clusters (k) are used.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
trend_plot_tinyClusters(
  root_dir = NULL,
  hex_len_range = NULL,
  hex_len_stepsize = NULL,
  output_dir = NULL,
  pdf_width = 12,
  pdf_height = 8,
  min_cluster_size = 30,
  clustering_subfolder_nm = "ConsensusClusterPlus_test"
)

Arguments

root_dir

A directory path pointing to the parent directory of the ouptput folders containing TIPC metric counts generated by count_TIPC_cat at various hexagonal lengths.

hex_len_range

A vector of 2 integer number indicating the range of hexagonal length. If unspecified (NULL), all found TIPC result folders of different hexagonal lengths will be processed.

hex_len_stepsize

An integer indicating the step size of hexagonal length. If unspecified (NULL), all found TIPC result folders of different hexagonal lengths will be processed.

output_dir

A directory path for saving output plot; if NULL, plots will be saved in root_dir

pdf_width, pdf_height

the width and height of the graphics region in inches. The default values are 18 and 12; inherited from pdf

min_cluster_size

An integer indicating the minimum size of TIPC cluster to be tested for survival analysis; default 10.

clustering_subfolder_nm

A character string indicating the subfolder name containing the TIPC clustering results within each hex_len.


MPE-Lab/TIPC documentation built on Sept. 17, 2021, 6:33 p.m.