Description Usage Arguments Value Author(s) See Also
View source: R/metricsMethods.R
Calculate and return the difference between two profiles
maximal peaks positions. The difference is always the first profile value
(profile1 parameter) minus the second profile value (profile2 parameter).
When more than one maximual peak is present in one profile, the mediane of
the position is calculated and used as the maximal peak position.
If one threshold is not respected, the function returns NA
.
1 2 | diffPosMaxMethod(profile1, profile2, threshold = 1, thresholdDist = 100,
tolerance = 0.01)
|
profile1 |
a |
profile2 |
a |
threshold |
a |
thresholdDist |
a |
tolerance |
a |
The calculated ratio or NA
if not all thresholds are
respected.
Astrid Deschenes, Elsa Bernatchez
MetricFactory
for using the recommanded interface to
calculate all available metrics separately or togheter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.