Get the total ion spectrum

# S4 method for GCIMSSample
getTIS(object)

Arguments

object

A GCIMSSample object

Value

A numeric vector with the total ion spectrum

Examples

sample_file <- system.file("extdata", "sample_formats", "small.mea.gz", package = "GCIMS")
s <- read_mea(sample_file)
tis <- getTIS(s)