plot_dr | R Documentation |
Plot cell-level reduced dimension results stored in a SpatialExperiment object.
plot_dr(
x,
dr,
color_by,
assay = "logcounts",
smooth = FALSE,
range = c(0.01, 0.99),
out_dir = NULL
)
x |
A SpatialExperiment object. |
dr |
. |
color_by |
Column metadata field(s) or feature(s) to color by. |
assay |
A character string indicating which expression values should be used. |
smooth |
A logical scalar. Smooth values. Helps to visualize expression patterns in a plot with many overlapping points. |
range |
A vector of 2 values indicating the minimum and maximum percentiles for the color range. Helps to visualize expression patterns when extreme outliers are present. For example, |
out_dir |
Name of the output analysis directory. If specified, the plots will be saved there. |
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.