.top_image_cut | R Documentation |
returns part of the image that doesn't have any horizontal lines (traces) in, will discard lettering(main use)
.top_image_cut(imageMatrix, percentFromEdge, percentEdgeForLeft = NULL)
imageMatrix |
Imported image into matrix form, can use tiff_import() |
percentFromEdge |
used in find_peaks if you know there wont be a peak in a region |
percentEdgeForLeft |
passed into find peaks, if not specified, uses percentFromEdge for both left and right sides, if specified, percentFromEdge is defaulted to just the right side of the plot |
the recommended cutoff of the top of your image
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.