cyto_plot_record: Record an existing cyto_plot

View source: R/cyto_plot-helpers.R

cyto_plot_recordR Documentation

Record an existing cyto_plot

Description

cyto_plot_record will record an existing plot such that it can be saved to an R object for future reference.

Usage

cyto_plot_record()

Author(s)

Dillon Hammill (Dillon.Hammill@anu.edu.au)

Examples

## Not run: 

# Load CytoExploreRData to acces data
library(CytoExploreRData)

# Activation flowSet
fs <- Activation

# Construct cyto_plot
cyto_plot(fs[[1]],
          channels = c("FSC-A", "SSC-A"))
          
# Record plot and save to object called p
p <- cyto_plot_record()

# Calling p will bring back the recorded plot
p


## End(Not run)


DillonHammill/CytoExploreR documentation built on March 2, 2023, 7:34 a.m.