This function takes an object of class iCellR and creates plots to see the clusters.
cluster.plot(
x = NULL,
cell.size = 0.5,
plot.type = "tsne",
cell.color = "black",
back.col = "white",
col.by = "clusters",
cond.facet = FALSE,
cond.shape = FALSE,
anno.clust = FALSE,
anno.size = 4,
cell.transparency = 1,
clust.dim = 2,
angle = 20,
clonotype.max = 10,
density = FALSE,
interactive = TRUE,
static3D = FALSE,
out.name = "plot"
)
An object of class iCellR.
An object of class iCellR.
A numeric value for the size of the cells, default = 1.
Choose between "tsne", "pca", "umap", "knetl", "diffusion", default = "tsne".
Choose cell color if col.by = "monochrome", default = "black".
Choose background color, default = "black".
Choose between "clusters", "conditions", "cc" (cell cycle) or "monochrome", default = "clusters".
Show the conditions in separate plots.
If TRUE the conditions will be shown in shapes.
Annotate cluster names on the plot, default = TRUE.
If anno.clust is TRUE set font size, default = 3.
A numeric value between 0 to 1, default = 0.5.
A numeric value for plot dimensions. Choose either 2 or 3, default = 2.
A number to rotate the non-interactive 3D plot.
Number of clonotype to plot, default = 10.
If TRUE the density plots for PCA/tSNE second dimension will be created, default = FALSE.
If TRUE an html interactive file will be made, default = TRUE.
If TRUE a non-interactive 3D plot will be made.
Output name for html file if interactive = TRUE, default = "plot".