getTIC: Compute total ion chromatogram (TIC) for a sample.

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Computes total ion chromatogram (TIC) for a single sample. Intensities are on the log2 scale. This requires a CMSraw object, typically produced from readMSdata.

Usage

1
getTIC(object, sample)

Arguments

object

An object of class CMSraw.

sample

An integer - for which sample should the TIC be computed?.

Value

A vector with length equal to the number of scans containing the log2 sum of intensities at each scan.

Examples

1
2

hansenlab/yamss documentation built on Feb. 8, 2022, 4:28 p.m.