Reorder idents by the gene expression
Usage
SrtReorder(
srt,
features = NULL,
reorder_by = NULL,
slot = "data",
assay = NULL,
log = TRUE,
distance_metric = "euclidean"
)
Arguments
- srt
A Seurat object.
- features
Features used to reorder idents.
- reorder_by
Reorder groups instead of idents.
- slot
Specific slot to get data from.
- assay
Specific assay to get data from.
- log
Whether log1p transformation needs to be applied. Default is
TRUE
.- distance_metric
Metric to compute distance. Default is "euclidean".