change.clust: Change the cluster number or re-name them

change.clustR Documentation

Change the cluster number or re-name them

Description

This function re-names the clusters in the best.clust slot of the scSeqR object.

Usage

change.clust(x = NULL, change.clust = 0, to.clust = 0,
  clust.reset = F)

Arguments

x

An object of class scSeqR.

change.clust

The name of the cluster to be changed.

to.clust

The new name for the cluster.

clust.reset

Reset to the original clustering.

Value

An object of class scSeqR.

Examples

## Not run: 
my.obj <- change.clust(my.obj, change.clust = 3, to.clust = 1)
my.obj <- change.clust(my.obj, change.clust = 2, to.clust = "B Cell")
my.obj <- change.clust(my.obj, clust.reset = T)

## End(Not run)

rezakj/scSeqR documentation built on March 28, 2022, 12:17 p.m.