View source: R/userFunctions.R
env_start_end | R Documentation |
A better version of .get_image_starts_ends but meant for single traces that are isolated on their own picture.
env_start_end(
traceMatrix,
thresh = 300,
gapLengthCutoff = 20,
returnMatrix = TRUE
)
traceMatrix |
a single isolated trace, with only one trace(no timing on the plot) |
thresh |
How far it will go before deciding were already past the numbers at start of traces |
gapLengthCutoff |
How Large the gap between the text and the trace must be in order to consider that point the new start, if gap is less then cutoff, will keep looking until it gets to the thresh value |
returnMatrix |
Will return the cut matrix if TRUE, if FALSE will return list of the Start and End |
list of the Start and End or cut matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.