sp_converter | R Documentation |
Converts a single chromatogram from MassHunter .sp
format to R
data.frame
.
sp_converter(
path,
format_out = c("matrix", "data.frame", "data.table"),
data_format = c("wide", "long"),
read_metadata = TRUE,
metadata_format = c("chromconverter", "raw")
)
path |
Path to file |
format_out |
Class of output. Either |
data_format |
Whether to return data in |
read_metadata |
Logical. Whether to read metadata and attach it to the chromatogram. |
metadata_format |
Format to output metadata. Either |
Uses the Aston file parser.
A chromatogram in data.frame
format (retention time x wavelength).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.