Skip to contents

This function just extracts cell-cluster membership from the cluster_sce_sc3 object and generates a cluster stability plots.

Usage

cluster_sc3_df_fn(cluster_sce_sc3, sc3_k, is_integration)

Arguments

cluster_sce_sc3

(input target) A SingleCellExperiment object with calculated SC3 clustering.

sc3_k

A numeric vector: numbers of clusters for SC3.

is_integration

A logical scalar: if TRUE, clusterings will be named as cluster_int_*, otherwise cluster_*.

Value

A tibble whose columns are mostly self-explanatory, except the data column, which is of list type and contains an another tibble with cluster_stability_plot column holding a ggplot object returned from SC3::sc3_plot_cluster_stability().