find_best_nr_cluster: Finds the best number of clusters according to silhouette

Description Usage Arguments Value

View source: R/find_best_nr_cluster.R

Description

Finds the best number of clusters according to silhouette

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
find_best_nr_cluster(
  data,
  sim,
  method_reconstruction = "kmedoids",
  method_evaluation = "silhouette",
  report = FALSE,
  parallel = FALSE,
  best = max,
  return_all = FALSE,
  ...
)

Arguments

data

The barcode data in a matrix.

sim

A similarity matrix.

method_reconstruction

The clustering method to use.

method_evaluation

The evaluation method to use.

report

Whether the current progress should be reported. Note that this will not work if parallel is set to TRUE.

parallel

Whether the clustering should be performed in parallel.

best

The method to use to determine the best clustering.

return_all

Whether to return the silhouette score for all clusterings.

...

passed params to evaluating clustering

Value

The R^2 value for rows is1 and is2 in matrix dat


MultIS documentation built on Aug. 6, 2021, 5:07 p.m.