sum_score: sum_score

View source: R/functions.R

sum_scoreR Documentation

sum_score

Description

Calculate Sscore and Dscore for iterative optimization.

Usage

sum_score(score, cs, aris)

Arguments

score

A dataframe containing adjusted rand indexes between the refined clustering results (resulted from t-SNE or UMAP-Kmeans procedures) and the clustering results in the selected subspaces. Required.

cs

Indexes of selected subspaces. Required.

aris

A dataframe containing ARI values among effective subspaces. Required.

Details

Sscore and Dscore calculation for optimization

Value

A list containing Sscore, suggested dimensional reduction method, number of effective subspaces and average ARI values used in Dscore calculation.

Examples

data("score")
data("cs")
data("aris")
score_sug=sum_score(score, cs, aris)


songjiajia2018/LINEAGE documentation built on Oct. 17, 2022, 6:17 a.m.