find_stability {scGPS} | R Documentation

## Calculate stability index

### Description

from clustering results, compare similarity between clusters by adjusted Randindex

### Usage

    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

    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)

[Package scGPS version 1.8.0 Index]