Learn R Programming

Seurat (version 2.0.0)

HoverLocator: Hover Locator

Description

Get quick information from a scatterplot by hovering over points

Usage

HoverLocator(plot, data.plot, features.info = NULL, dark.theme = FALSE, ...)

Arguments

plot

A ggplot2 plot

data.plot

The oridinal data that went into the ggplot2 plot

features.info

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

plotly::layout

ggplot2::ggplot_build