plot_emissions: Plot emission spectra as excited by specified laser.

Description Usage Arguments Value

Description

Generates a ggplot2 with emission spectra generated by specified laser.

Usage

1
2
plot_emissions(wavelengths, excitations, emissions, proteins, lasers,
  channels = NA, palette = NA, size = 2, background.alpha = 0.1)

Arguments

wavelengths

A vector of wavelengths (nm).

excitations

A vector of excitation intensities.

emissions

A vector of emmision intensities.

proteins

A vector of protein labels that correspond to each measurement.

lasers

Vector of lasers exciting given proteins e.g. c(488, 642)

channels

Optional vector of channels to highlight e.g. c('530/30', '670LP').

palette

Name of colorbrewer palette for discrete scale (if NA, spectra are coloured by emission wavelength.

size

Line size for emission spectra.

background.alpha

Transparency value for channel highlight.

Value

ggplot2 plot object.


ssokolen/fluoroscripts documentation built on May 30, 2019, 8:43 a.m.