View source: R/construct_bscan.R
construct_bscan | R Documentation |
construct_bscan
builds a ggplot2 object containing the data for a
given b-scan.
construct_bscan( oct, bscan_id, layer_y_max = oct$header$size_z, layer_y_min = 0, low_color = "black", high_color = "white", contrast_correction = spline_correction, na_intensity = 0, scale_bars = TRUE, scale_length = 200, scale_color = "white", inset_percentage = c(x = 0.025, y = 0.05) )
oct |
A list containing the OCT data. |
bscan_id |
The number of the b-scan of interest. |
layer_y_max |
Vertical maximum constraint on the b-scan axix. |
layer_y_min |
Vertical minimum constraint on the b-scan axis. |
low_color |
Color for lowest values. |
high_color |
Color for highest values. |
scale_bars |
Boolean indicating if scale bars be drawn. |
scale_length |
Length of scale bars in microns. |
scale_color |
Color of scale bar. |
inset_percentage |
Percentage of image to inset the scale bar. |
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.