Description Usage Arguments Value
Automated detection of the X-axis, Y-axis, and points on a scatter-plot
figure image. The default returns these detected objects as an
EBImage
raster image, as well as the estimated effect size (correlation
coefficient or r) of the data within the scatter-plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | figure_scatterPlot(
file = file.choose(),
binary_threshold = 0.6,
binary_point_fill = FALSE,
binary_point_tolerance = 2,
axis_thickness = 5,
axis_sensitivity = 0.2,
axis_X_color = "#00ABAB",
X_min = 40,
X_max = 140,
axis_Y_color = "#B0D36A",
Y_min = 40,
Y_max = 140,
point_sensitivity = 0.2,
point_shape = "circle",
point_size = 3,
point_color = "#0098B2",
ignore = FALSE
)
|
file |
The file name and location of a scatter plot figure. Prompts for file name if none is explicitly called. |
binary_threshold |
A proportion from zero to one designating the gray-scale threshold to convert pixels into black or white. Pixel intensities below the proportion will be converted to black, and those above white. |
binary_point_fill |
If |
binary_point_tolerance |
An integer used to designate the size of the points to the fill. Increase value to better fill empty points. |
axis_thickness |
An integer used to designate the thickness of the axis lines on a figure. Close alignment to the thickness of the axis on a figure will improve axis detection. |
axis_sensitivity |
A value designating the sensitivity of identifying straight lines on figure. A smaller number results in a higher sensitivity to identify axes. |
axis_X_color |
The color to paint the detected X-axis. |
X_min |
The minimum X value displayed on the X-axis (used to scale detected data points). |
X_max |
The maximum X value displayed on the X-axis (used to scale detected data points). |
axis_Y_color |
The color to paint the detected Y-axis. |
Y_min |
The minimum Y value displayed on the Y-axis (used to scale detected data points). |
Y_max |
The maximum Y value displayed on the Y-axis (used to scale detected data points). |
point_sensitivity |
A value designating the sensitivity of identifying unique points that overlap. A smaller number results in a higher sensitivity to split overlapping points; a larger number will extract only a single point from a cluster of overlapping points. |
point_shape |
The shape of points on figure: can be |
point_size |
An integer used to designate the size of the points on
the figure. Close alignment to the size of the points on a figure will
improve point detection. See |
point_color |
The color to paint the detected scatter plot points. |
ignore |
When |
A data frame with detected points.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.