plot_slide_clusters: Plot the clusters on the slide

Description Usage Arguments Value Examples

View source: R/plot_slide_clusters.R

Description

Plot the clusters on the slide

Usage

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)
)

Arguments

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.

Value

A ggplot2 object.

Examples

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)

Kevin-Haigis-Lab/PackageBluishgreen documentation built on March 7, 2021, 1:24 a.m.