update_click: Update click

Description Usage Arguments Value Author(s)

Description

This function is used in the shiny app. A large image is zoomed-in and a click is done on the second image. This function matches the click with the coordinates of the original image.

Usage

1
update_click(ranges, click)

Arguments

ranges

A list with the limits in x and y where the image was zoomed-in.

click

Point where click was done in the scale of the zoomed-in image.

Value

A dataframe with x and y in the original scale.

Author(s)

Guillermo Basulto-Elias


CSAFE-ISU/solefinder documentation built on May 23, 2019, 10:31 p.m.