mmlocator: Locate points in a ggplot2 plot

Description Usage Arguments Value Author(s)

View source: R/internals.R

Description

Internal function used within mmplot and mmplot_network

Usage

1
mmlocator(plot, x_scale = NULL, y_scale = NULL)

Arguments

plot

ggplot2 object.

x_scale

x axis scale, "sqrt" or "log10".

y_scale

y axis scale, "sqrt" or "log10".

Value

A data frame with the x/y coordinates of the mousepositions clicked in the ggplot2 plot.

Author(s)

Kasper Skytte Andersen ksa@bio.aau.dk

Rasmus Hansen Kirkegaard rhk@bio.aau.dk

Soren M. Karst smk@bio.aau.dk

Mads Albertsen MadsAlbertsen85@gmail.com


KasperSkytte/mmgenome2 documentation built on Dec. 14, 2021, 12:11 a.m.