find_stability: Calculate stability index

Description Usage Arguments Value Author(s) Examples

View source: R/CORE_clustering.R

Description

from clustering results, compare similarity between clusters by adjusted Randindex

Usage

1
find_stability(list_clusters = NULL, cluster_ref = NULL)

Arguments

list_clusters

is a object from the iterative clustering runs

cluster_ref

is a object from the reference cluster

Value

a data frame with stability scores and rand_index results

Author(s)

Quan Nguyen, 2017-11-25

Examples

1
2
3
4
5
6
day5 <- day_5_cardio_cell_sample
mixedpop2 <-new_summarized_scGPS_object(ExpressionMatrix = day5$dat5_counts, 
    GeneMetadata = day5$dat5geneInfo, CellMetadata = day5$dat5_clusters)
cluster_all <-clustering(object=mixedpop2)
stab_df <- find_stability(list_clusters=cluster_all$list_clusters,
                         cluster_ref = cluster_all$cluster_ref)

scGPS documentation built on Nov. 8, 2020, 5:22 p.m.