View source: R/plot_functions.R
featureGradient | R Documentation |
Visualize feature activity/expression gradient overlaid on UMAP
featureGradient(
object,
feature,
umap.key = "umap",
min.quantile.cutoff = 0.025,
max.quantile.cutoff = 0.975,
arrow.color = "black",
arrow.size = 1
)
object |
Seurat object. |
feature |
scaling constant used to determine optimal point size. |
umap.key |
name of UMAP reduction. Default is "umap". Requires that UMAP embedding was calculated using Seurat::RunUMAP() prior to running scMiko::featureGradient(). |
min.quantile.cutoff |
upper quantile threshold at which values are winsorized. Default is 0.975 |
max.quantile.cutoff |
lower quantile threshold at which values are winsorized. Default is 0.025 |
arrow.color |
gradient arrow color. Default is "black". |
arrow.size |
gradient arrow size Default is 1. |
ggplot handle
gg.plot <- featureGradient(object = so, feature = "S.Score")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.