IBSpectra.log {isobar} | R Documentation

## Log functions for IBSpectra objects

### Description

The slot `log` of `IBSpectra` objects contains a matrix with two columns which contain a timestamp and message. Rownames relate to the item logged.

Used by `correctIsotopeImpurities` and `normalize`.

### Usage

    do.log(x, name, msg)

    get.log(x, name)

    is.logged(x, name)

### Arguments

`x` | IBSpectra object
`name` | Name of property to be logged (translates to row name).
`msg` | Message to be logged for name.

### Details

A warning message will be displayed if a already logged property is logged again.

### Value

do.log: IBSpectra object with updated log. get.log:

### Author(s)

Florian P Breitwieser

### See Also

IBSpectra-class

### Examples

        data(ibspiked_set1)
        ib <- normalize(correctIsotopeImpurities(ibspiked_set1))
        ib@log

[Package isobar version 1.28.1 Index]