rebalence_colors | R Documentation |
rebalence colors
rebalence_colors(coordinates, dimensions, method = "minmax")
coordinates |
data frame containing barcodes, x/y coord, origin, and color value. |
dimensions |
number dimensions select for plotting |
method |
character string: min max or truncate |
This function is use to re-bound values between 0 and 1. Some image processing steps may lead to negative values being introduced. Imager handles this without an issue but for plotting we want to make sure that all values are indeed bound between 0 and 1. We will try to different methods either we truncate the value or we min max norm.
data frame with [0,1] bound values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.