cluster.plot | R Documentation |
This function takes an object of class scSeqR and creats plot.
cluster.plot(x = NULL, cell.size = 1, plot.type = "tsne", cell.color = "black", back.col = "white", col.by = "clusters", cond.shape = F, cell.transparency = 0.5, clust.dim = 2, angle = 20, density = F, interactive = TRUE, static3D = F, out.name = "plot")
x |
An object of class scSeqR. |
cell.size |
A numeric value for the size of the cells, defults = 1. |
plot.type |
Choose between "tsne" and "pca", defult = "tsne". |
cell.color |
Choose cell color if col.by = "monochrome", defult = "black". |
back.col |
Choose background color, defult = "black". |
col.by |
Choose between "clusters", "conditions" or "monochrome", defult = "clusters". |
cell.transparency |
A numeric value between 0 to 1, defult = 0.5. |
clust.dim |
A numeric value for plot dimentions. Choose either 2 or 3, defult = 2. |
angle |
A number to rotate the non-interactive 3D plot. |
density |
If TRUE the density plots for PCA/tSNE second dimention will be created, defult = FALSE. |
interactive |
If TRUE an html intractive file will be made, defult = TRUE. |
out.name |
Output name for html file if interactive = TRUE defult = "plot". |
An object of class scSeqR.
## Not run: tsne.plot(my.obj) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.