Learn R Programming

isobar (version 1.18.0)

IBSpectra.log: 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.

Value

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

Details

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

See Also

IBSpectra-class

Examples

Run this code
    data(ibspiked_set1)
    ib <- normalize(correctIsotopeImpurities(ibspiked_set1))
    ib@log

Run the code above in your browser using DataLab