Description Usage Arguments Value Examples
View source: R/baseline_transform.R
'baseline_transform' transforms a fluoR dataframe into change from a specified baseline period
1 | baseline_transform(dataframe, trials, baseline.times, type = "z_standard")
|
dataframe |
a fluoR-format dataframe |
trials |
trial numbers to transform |
baseline.times |
a range of values specifying a baseline period |
type |
type of transformation to use on dataframe input |
a dataframe of transformed values for the specified trials
1 2 3 4 5 6 | ### Format data frame
df <- format_data(GCaMP)
### Standardize variables relative to baseline using z-scores
baseline_transform(dataframe = df, trials = 1:5, baseline.times = c(-4,0),
type = 'z_standard')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.