generate_spectra: Import fluorescent protein spectra

Description Usage Arguments Examples

Description

Imports fluorescent protein data, interpolates the available points, and generates new values using a common basis.

Usage

1
2
generate_spectra(filename = NA, destination = NA, basis = seq(300, 800,
  length.out = 200), overwrite = TRUE)

Arguments

filename

Filename or pattern for matching multiple filenames containing csv spectra data. If no filename is provided, the current working directory is assumed to be the root directory of the package source and all csv files are matched in ./inst/protein_spectra.

destination

Filename to save the generated Rdata file. If no destination is provided, the current working directory is assumed to be the root directory of the package source and a protein_spectra.Rdata file is saved to ./data.

basis

A sequence of wavelength values (with the same units as the data in the csv files) to evaluate all spectra on.

overwrite

TRUE to overwirte existing Rdata file.

Examples

1
# To do

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