max_delta: max_delta

View source: R/max_delta.R

max_deltaR Documentation

max_delta

Description

Helper function for reordering levels of calcium response based on the maximum change in reponse aligned to the end of a pulse. Mainly for use in plotGCaMP_multi.R. End value is derived from input in plotGCaMP_multi.R

Usage

max_delta(x, end = 60)

Examples

ggplot(aes(x = time, y = fct_reorder(animal_num, delF, max_delta)))

SenguptaLab/MF.matR documentation built on June 15, 2025, 1:14 a.m.