View source: R/OrderCellClusters.R
OrderCellClusters | R Documentation |
This function orders cell clusters by a column in the seurat metadata. i.e. sort seurat clusters by their developmental stage, with clusters shared between stages ordered in between those stages
OrderCellClusters(seurat_object, col_to_sort, sort_by)
seurat_object |
Seurat object |
col_to_sort |
seurat_object@meta.data column to be re-arranged (i.e. clusters). Only rearrange cluster if at least 10% of cells in cluster are from a different identity |
sort_by |
array containing factor levels passed to col_to_sort (i.e. developmental stage) |
array of cluster IDs automatically ordered based on their composition
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.