View source: R/single_electrode_barchart.R
single_electrode_barchart | R Documentation |
Function creates a bar chart of calculated MEA parameters by single electrode for a given time interval and recording.
single_electrode_barchart(
data = output_table,
electrode_parameter,
electrode_filter =
"A1|A2|A3|A4|A5|A6|B1|B2|B3|B4|B5|B6|C1|C2|C3|C4|C5|C6|D1|D2|D3|D4|D5|D6",
statistic = se
)
data |
Dataset containing electrode burst data and calculated MEA parameter. Use create_electrode_dataset and electrode parameter functions to preprocess data before use in this function (i.e., electrode_burst_duration, electrode_mean_burst_ISI, electrode_number_of_bursts, electrode_spikes_per_burst). |
electrode_parameter |
Include "number_of_bursts"/ "burst_duration"/ "spikes_per_burst"/ "mean_burst_ISI" to determine the parameter visualised in the barchart. |
electrode_filter |
Argument can be used to filter for single electrodes to include in the barchart. |
statistic |
Include "se" or "sd" to determine whether bar chart error bars represent the standard error or standard deviation of the mean. |
A bar chart of calculated MEA parameters by single electrode for a given time interval and recording.
p <- single_electrode_barchart(data = input_electrode_barchart,
electrode_parameter = "burst_duration",
electrode_filter = "A1_",
statistic = se)
p <- single_electrode_barchart(data = input_electrode_barchart,
electrode_parameter = "spikes_per_burst",
electrode_filter = "A1_",
statistic = se)
p <- single_electrode_barchart(data = input_electrode_barchart,
electrode_parameter = "mean_burst_ISI",
electrode_filter = "A1_",
statistic = se)
p <- single_electrode_barchart(data = input_electrode_barchart,
electrode_parameter = "number_of_bursts",
electrode_filter = "A1_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.