HoverLocator: Hover Locator

Description Usage Arguments See Also Examples

View source: R/visualization.R

Description

Get quick information from a scatterplot by hovering over points

Usage

1
HoverLocator(plot, information = NULL, axes = TRUE, dark.theme = FALSE, ...)

Arguments

plot

A ggplot2 plot

information

An optional dataframe or matrix of extra information to be displayed on hover

axes

Display or hide x- and y-axes

dark.theme

Plot using a dark theme?

...

Extra parameters to be passed to layout

See Also

layout ggplot_build DimPlot FeaturePlot

Examples

1
2
3
4
5
6
## Not run: 
data("pbmc_small")
plot <- DimPlot(object = pbmc_small)
HoverLocator(plot = plot, information = FetchData(object = pbmc_small, vars = 'percent.mito'))

## End(Not run)

ibseq/scs-analysis documentation built on Feb. 27, 2021, 12:35 a.m.