Skip to contents

Reshapes list of chromatograms from wide to long format

Usage

reshape_chroms(x, idx, sample_var = "sample", lambdas = NULL, rts = NULL)

Arguments

x

A list of chromatographic matrices in wide format.

idx

Indices of chromatograms to convert

sample_var

String with name of new column containing sample IDs.

lambdas

Vector specifying wavelength(s) to include.

rts

Vector specifying retention times to include.

Value

A list of chromatographic matrices in long format.

Author

Ethan Bass