Description Usage Arguments Value Examples
RenameAllClusters function enables renaming all cluster at once.
1 2 3 4 | RenameAllClusters.SingleCellExperiment(object, new.cluster.names)
## S4 method for signature 'SingleCellExperiment'
RenameAllClusters(object, new.cluster.names = "")
|
object |
of |
new.cluster.names |
object of class 'iloreg' |
object of SingleCellExperiment
class
1 2 3 4 5 6 7 8 9 | library(SingleCellExperiment)
sce <- SingleCellExperiment(assays = list(logcounts = pbmc3k_500))
sce <- PrepareILoReg(sce)
## These settings are just to accelerate the example, use the defaults.
sce <- RunParallelICP(sce,L=2,threads=1,C=0.1,k=5,r=1)
sce <- RunPCA(sce,p=5)
sce <- HierarchicalClustering(sce)
sce <- SelectKClusters(sce,K=5)
sce <- RenameAllClusters(sce,new.cluster.names=LETTERS[seq_len(5)])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.