tuneParameters | R Documentation |
This function tunes the resolution
parameter in Seurat::FindClusters()
and the number of top differential genes (N
) to obtain different cell type annotation results. The function generates UMAP plots for each parameter combination, allowing for a comparison of how different settings affect the clustering and annotation.
tuneParameters(srt, resolution = numeric(), N = integer(), spc)
srt |
Seurat object, the input data object to be analyzed. |
resolution |
numeric vector, a vector of resolution values to be tested in |
N |
integer vector, a vector of values indicating the number of top differential genes to be used for matching in |
spc |
character, the species parameter for the |
A list of ggplot2 objects, each representing a UMAP plot generated with a different combination of resolution and N parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.