View source: R/plot_lines_firing_rate_by_treatment.R
plot_lines_firing_rate_by_treatment | R Documentation |
Make a plot where the x-axis are the treatments and the y-axis is the average firing rate on the log scale show a box (and wisker) plot for each treatment summarizing across neurons in the experiment overlay points for each neuron jittering horizontally to allow them to be seen more easily
plot_lines_firing_rate_by_treatment( experiment, plot_width = 6, plot_height = 6, output_base = "product/plots", verbose = TRUE )
experiment: experiment dataset loaded with mema::load_experiment(...)
plot_width/plot_height: dimensions of the output plot
returns: the ggplot2 Saves the result to product/plots/firing_rate_by_treatment_<experiment_tag>_<date_code>.(pdf|png) It save both .pdf and .png because it's easier to email etc small pngs while for use in an a manuscript having the vector version means that it can be tweaked with illustrator
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.