clust.ord {iCellR}R 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.


[Package iCellR version 1.6.7 Index]