This function creates a *cpc_chrom* object from a chromatogram trace for external processing of chromatograms without XCMS.

chromFromTrace(st, trace, param = cpcChromParam())

Arguments

st

Scantimes for the chromatogram. If not supplied will default to 1:length(trace).

trace

Numeric vector containing the chromatogram trace to be processed.

param

*cpcChromParam* object contaning the processing parameters.

Value