CalculateSilhouette: Calculate Silhouette width from PCA space for each cell after...

Description Usage Arguments Value Examples

View source: R/calculatesilhouette.R

Description

Calculate Silhouette width from PCA space for each cell after clustering This is calculated from Seurat object

Usage

1
CalculateSilhouette(object, dims = 1:50)

Arguments

object

A Seurat object with Idents set to cluster ids (factors)

dims

default 1:50 dimension to use in the PCA space to calculate eucledian distance

Value

a dataframe with silhouette width for each cell. see also silhouette

Examples

1
CalculateSilhouette(pbmc_small, dims = 1:15)

crazyhottommy/scclusteval documentation built on Aug. 5, 2021, 3:20 p.m.