SpectraRef Class

Format

An R6Class generator object

Public fields

ms_run

MsRun

reference

character

Methods


Method new()

Create a SpectraRef

Usage

SpectraRef$new(ms_run, reference, ...)

Arguments

ms_run

The ms run MsRun .

reference

The reference to a particular spectrum using the id_format defined in MsRun.

...

local optional variable arguments


Method toJSON()

Serialize to list object suitable for jsonlite

Usage

SpectraRef$toJSON()


Method fromJSON()

Deserialize from jsonlite list object

Usage

SpectraRef$fromJSON(SpectraRefJson)

Arguments

SpectraRefJson

list object.


Method toJSONString()

Serialize to JSON string.

Usage

SpectraRef$toJSONString()


Method fromJSONString()

Deserialize from JSON string

Usage

SpectraRef$fromJSONString(SpectraRefJson)

Arguments

SpectraRefJson

JSON string


Method toString()

Serialize to string

Usage

SpectraRef$toString()


Method fromString()

Deerialize from string

Usage

SpectraRef$fromString(SpectraRefString)

Arguments

SpectraRefString

The SpectraRef string representation.


Method clone()

The objects of this class are cloneable with this method.

Usage

SpectraRef$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.