forked from 10XGenomics/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HoverLocator.Rd
31 lines (27 loc) · 849 Bytes
/
HoverLocator.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualization.R
\name{HoverLocator}
\alias{HoverLocator}
\title{Hover Locator}
\usage{
HoverLocator(plot, information = NULL, dark.theme = FALSE, ...)
}
\arguments{
\item{plot}{A ggplot2 plot}
\item{information}{An optional dataframe or matrix of extra information to be displayed on hover}
\item{dark.theme}{Plot using a dark theme?}
\item{...}{Extra parameters to be passed to \code{plotly::layout}}
}
\description{
Get quick information from a scatterplot by hovering over points
}
\examples{
\dontrun{
plot <- DimPlot(object = pbmc_small)
HoverLocator(plot = plot, information = FetchData(object = pbmc_small, vars = 'percent.mito'))
}
}
\seealso{
\code{\link[plotly]{layout}} \code{\link[ggplot2]{ggplot_build}}
\code{\link{DimPlot}} \code{\link{FeaturePlot}}
}