calculateLocation: Get the X and Y coordinates of a string coded location on a...

Description Usage Arguments Value

View source: R/watermark.R View source: R/addSNPScale.R

Description

Function used by addSNPScale()

Function used by watermark()

Usage

1
2
3
calculateLocation(location = NULL, axisLimits)

calculateLocation(location = NULL, axisLimits)

Arguments

location

a character vector specifying the location for the text to be plotted

axisLimits

a numeric vector storing the limits of the axes in the format c(xMin, xMax, yMin, yMax).

Value

Returns a numeric vector storing the coordinates determined by string location

Returns a numeric vector containing the X and Y coordinates to plot the text at


JosephCrispell/plotteR documentation built on June 6, 2021, 7:24 p.m.