powered by
Returns a tSNE plot colored based on whether the cells fall in clusters to the left or to the right of a node split in the cluster tree.
ColorTSNESplit(object, node, color1 = "red", color2 = "blue", color3 = "gray", ...)
Seurat object
Node in cluster tree on which to base the split
Color for the left side of the split
Color for the right side of the split
Color for all other cells
Arguments passed on to TSNEPlot
TSNEPlot
FALSE by default. If TRUE, plots an alternate view where the center of each cluster is labeled
Set the point size
Set the size of the text labels
Vector of cell names to use in the plot.
Manually set the color palette to use for the points
Returns a tSNE plot
# NOT RUN { pbmc_small PlotClusterTree(pbmc_small) ColorTSNESplit(pbmc_small, node = 6) # }
Run the code above in your browser using DataLab