Description Usage Arguments Value Examples
View source: R/define_gel_lanes.R
This function uses the inflect function (bioKIT) to identify local minima in an agarose gel image. From this set of minima, the middle of each lane can be defined. This returns a range, expanded by a set of pixels on either side of the middle.
1 2 | define_gel_lanes(gel_img, x_inflect_threshold = 25, expand_lanes = 10,
plot_signal = T)
|
gel_img |
an image object, created using the imager package. |
expand_lanes |
how far in each direction from the midpoint should lanes be "expanded? 10 by default. |
plot_signal |
Display the locations of the ranges? Useful for ensuring accuracy. |
inflect_threshold |
px threshold for calculating minima; integer, 25 by default. |
Returns a dataframe of the calculated information. Can also return a plot.
1 | # ADD_EXAMPLES_HERE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.