Description Usage Arguments Value Examples
View source: R/plot_slide_clusters.R
Plot the clusters on the slide
1 2 3 4 5 6 7 | plot_slide_clusters(
ts,
method = "manual",
prop = 0.25,
point_size = 0.5,
alpha_values = c(0.2, 0.7)
)
|
ts |
A tissue slide object |
method |
The classification method to use. The classification should have already been done. |
prop |
The proportion of cells to include in the plot (too many cells can impact performance). |
point_size |
Size of each point. |
alpha_values |
A two-value vector where each value indicates the transparency of points coming from the two clusters. |
A ggplot2 object.
1 2 3 4 5 6 7 | pancreas_slide <- tissue_slide(pancreas)
pancreas_slide <- cluster_manually(pancreas_slide,
fitc,
cutoff = 4,
transform = log10
)
plot_slide_clusters(pancreas_slide)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.