knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Author: Christopher Hall, Babraham Institute, UK
Contact: christopher.hall@babraham.ac.uk
The purpose of this package is to produce full spectrum flow cytometry plots outside the acquisition software. There are four styles designed to roughly mimic the output styles of the Bigfoot, Aurora, and R Viridis. The package takes flowFrames and flowSets as produced using the flowCore package.
Load data info R using flowCore either via read.FCS() or read.flowset() Envoke the spectralplot() function and choose a style and choose where to output the resulting image.
library(flowSpectrum) ff<-read.FCS(system.file("extdata", "PE.fcs", package = "flowSpectrum")) spectralplot(ff,theme='viridis',save=FALSE,bins=512)
The theme options are 'viridis', 'bigfoot', and 'aurora'. The save options are TRUE and FALSE. TRUE will save a PNG into the working directory. FALSE will output to the R session. ```
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.