Description Usage Arguments Value Examples
'perc_baseline' calculates the percent change from a user-specified baseline period
1 | perc_baseline(Dataframe, Baseline.times, Baseline.frame = FALSE)
|
Dataframe |
a GCalcium-format data frame or matrix |
Baseline.times |
range of time from Baseline.frame to compute the baseline value from |
Baseline.frame |
a GCalcium-format data frame or matrix containing the baseline period. If frame is not specified, Dataframe is automatically used |
a GCalcium-format data frame with values transformed to percent baseline
1 2 3 4 5 | ### Format data frame
df.new <- format_data(GCaMP)
### Transform into percent baseline: relative to -3s to -1s before epoc
perc_baseline(Dataframe = df.new, Baseline.times = c(-3, -1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.