View source: R/reshape_chroms.R
reshape_chroms | R Documentation |
Reshape chromatograms Reshapes a list of chromatograms from wide to long format.
reshape_chroms(x, idx, sample_var = "sample", lambdas = NULL, rts = NULL)
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. |
A list of chromatographic matrices in long format.
Ethan Bass
Other utility functions:
combine_peaks()
,
get_lambdas()
,
get_times()
,
merge_peaks()
,
reshape_peaktable()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.