clust.ord: Sort and relabel the clusters randomly or based on pseudotime

clust.ordR Documentation

Sort and relabel the clusters randomly or based on pseudotime

Description

This function takes an object of class iCellR and re-ordersthe clusters based on pseudotime (distance).

Usage

clust.ord(
  x = NULL,
  top.rank = 500,
  dist.method = "euclidean",
  clust.method = "complete",
  how.to.order = "distance"
)

Arguments

x

An object of class iCellR.

top.rank

A number. Taking the top genes ranked by base mean, default = 500.

dist.method

Choose from "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski", default = "euclidean".

clust.method

Choose from "ward.D", "ward.D2", "single", "complete", "average", "mcquitty", "median" or "centroid", default = "complete".

how.to.order

Choose from "distance" and "random".

Value

An object of class iCellR.


rezakj/iCellR documentation built on March 29, 2024, 6:55 p.m.