Description Usage Arguments Details Value
View source: R/plot_chamber_trace.R
Visualize the change in a hemodynamic or sympathetic nervous system variable that is specified in the output of run_chamber.
1 2 3 4 5 6 7 | plot_chamber_trace(
data,
features = NULL,
outcome = "delta",
palette = "Greys",
combine_plots = T
)
|
data |
a data frame of lower-body negative pressure data obtained from run_chamber. |
features |
the features to plot. A separate plot will be provided for
each feature. The feature must be present as a column name of |
outcome |
the type of data to show. Please select from |
palette |
the color palette used to visualize the trace for each variable
type. Can be provided either a string specifying a ColorBrewer (see
|
combine_plots |
optionally, combine the plots into a single object.
Please note that this will prevent users from adding ggplot layers.
Defaults to |
The following color maps can be specified using the palette
argument:
viridis color scales: magma, inferno, plasma, viridis, or cividis (the default)
sequential ColorBrewer scales: BuGn, BuPu, GnBu, Greens, Greys, Oranges, OrRd, PuBu, PuBuGn, PuRd, Purples, RdPu, Reds, YlGn, YlGnBu, YlOrBr, or YlOrRd
diverging ColorBrewer scales: BrBG, PiYG, PRGn, PuOr, RdBu, RdGy, RdYlBu, RdYlGn, or Spectral
a vector of colors that will be passed into
scale_color_manual
a ggplot
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.