max_negdelta: max_negdelta

View source: R/max_negdelta.R

max_negdeltaR Documentation

max_negdelta

Description

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

Usage

max_negdelta(x, end = 60)

Examples

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

SenguptaLab/MF.matR documentation built on Feb. 5, 2023, 4:57 p.m.