ForceZoomY: Force zooming into Y axis.

Description Usage Arguments Details Value

Description

Force zooming into Y axis.

Usage

1
2
3
4
ForceZoomY(xrange, yrange = NULL, xdata, ydata, space = 0.0125)

ApplyForceZoomY(p, xrange, yrange = NULL, space = 0.0125,
  clipping = FALSE, clipping_cols = "value")

Arguments

xrange

Zoomed range of x axis.

yrange

Zoomed range of y axis. If NULL, ydata will be evaluated from xdata and ydata.

xdata

Data of x.

ydata

Data of y, indices correspond to xdata.

space

Spacing factor.

p

A ggplot object.

clipping

clip value from clipping_cols.

clipping_cols

columns to clip.

Details

When clippling is TRUE, data values are directly clipped (set to NAs). This is a workaround when there are multiple measurements in different units/scales, since I haven't figure out a way to set coords to different group of data in a ggplot object.

Value

ylim


Crystal-YWu/abftools documentation built on May 10, 2019, 8:22 a.m.