HoverLocator: Hover Locator

Description Usage Arguments See Also Examples

Description

Get quick information from a scatterplot by hovering over points

Usage

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

Arguments

plot

A ggplot2 plot

information

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

dark.theme

Plot using a dark theme?

...

Extra parameters to be passed to plotly::layout

See Also

layout ggplot_build DimPlot FeaturePlot

Examples

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

## End(Not run)

atakanekiz/Seurat3.0 documentation built on May 26, 2019, 2:33 a.m.