opt.clust.num | R Documentation |
This function takes an object of class scSeqR and finds optimal number of clusters based on three methods.
opt.clust.num(x = NULL, max.clust = 20, gap.stat.nboot = 100, verbose = TRUE, clust.type = "tsne", opt.method = "silhouette")
x |
An object of class scSeqR. |
max.clust |
Maximum number of clusters allowed to optimize, defult = 20. |
gap.stat.nboot |
Number of boots, defult = 100 (500 is desired but slower). |
verbose |
If TRUE will show the processing. |
clust.type |
Choose from "tsne","pca" or "distance", defult = "tsne". |
opt.method |
Choose from "elbow.wss", "silhouette", "gap.stat" or "", defult = "all". |
An object of class scSeqR.
## Not run: opt.clust.num(my.obj, max.clust = 10, clust.type = "tsne", opt.method = "silhouette") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.