View source: R/mixedcirc_detectpeaks.R
mixedcirc_detectpeaks | R Documentation |
This function finds peak of a rhythm
mixedcirc_detectpeaks(
phi,
period = 24,
min_time = 0,
correct_period = T,
correct_min = F
)
phi |
phase of a peak |
period |
period of circadian rhythm. Default: 24 |
min_time |
minimum time considered |
correct_period |
if TRUE, period will be forced to be between the min and max time |
correct_min |
minimum time will be adjusted |
numeric - the peak time
data("circa_data")
results <- mixedcirc_detect(data_input = circa_data$data_matrix,
time = circa_data$time,
group = circa_data$group,
id = circa_data$id,
period = 24,
verbose = TRUE)
mixedcirc_detectpeaks(results[1][,5], min_time = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.