getTIC {yamss}R Documentation

Compute total ion chromatogram (TIC) for a sample.

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

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

data(cmsRawExample)
tic <- getTIC(cmsRawExample, sample = 1)

[Package yamss version 1.20.0 Index]