silhouette_to_df: Run silhouette scoring and return a to data frame

View source: R/silhouette.R

silhouette_to_dfR Documentation

Run silhouette scoring and return a to data frame

Description

This function takes in a seurat object, runs silhouette scoring and returns a data frame. This function is to use with apply in optimize_silhouette instead of a for loop

Usage

silhouette_to_df(sobject, res, reduction = "pca")

Arguments

sobject

The silhouette object to convert.

res

The resolution parameter.

reduction

The reduction data used (default is "pca").

Value

A data frame containing the silhouette values.


kidcancerlab/rrrSingleCellUtils documentation built on April 17, 2025, 5:10 p.m.