This function takes an object of class iCellR and re-ordersthe clusters based on pseudotime (distance).
clust.ord(
x = NULL,
top.rank = 500,
dist.method = "euclidean",
clust.method = "complete",
how.to.order = "distance"
)
An object of class iCellR.
A number. Taking the top genes ranked by base mean, default = 500.
Choose from "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski", default = "euclidean".
Choose from "ward.D", "ward.D2", "single", "complete", "average", "mcquitty", "median" or "centroid", default = "complete".
Choose from "distance" and "random".
An object of class iCellR.