MsRun | R Documentation |
MsRun Class
An R6Class
generator object
id
integer
name
character
location
character
instrument_ref
Instrument [optional]
format
Parameter [optional]
id_format
Parameter [optional]
fragmentation_method
list( Parameter ) [optional]
scan_polarity
list( Parameter ) [optional]
hash
character [optional]
hash_method
Parameter [optional]
new()
Create an MsRun
MsRun$new( id, name, location, instrument_ref = NULL, format = NULL, id_format = NULL, fragmentation_method = NULL, scan_polarity = NULL, hash = NULL, hash_method = NULL, ... )
id
MsRun id.
name
MsRun name.
location
the location URI to retrieve the MsRun file.
instrument_ref
Link to the Instrument used to acquire this MsRun.
format
CV parameter defining the file format Parameter.
id_format
CV parameter defining the mass spec id format Parameter.
fragmentation_method
Fragementation methods list( Parameter ).
scan_polarity
Scan polarities present in the file list( Parameter ).
hash
Hash value of the file using the hash_method.
hash_method
Parameter
...
local optional variable arguments
toJSON()
Serialize to list object suitable for jsonlite
MsRun$toJSON()
fromJSON()
Deserialize from jsonlite list object
MsRun$fromJSON(MsRunJson)
MsRunJson
list object.
toJSONString()
Serialize to JSON string.
MsRun$toJSONString()
fromJSONString()
Deserialize from JSON string
MsRun$fromJSONString(MsRunJson)
MsRunJson
JSON string
toDataFrame()
Serialize to data frame
MsRun$toDataFrame()
fromDataFrame()
Deserialize from ms run data frame
MsRun$fromDataFrame(MsRunDataFrame)
MsRunDataFrame
MsRun data frame
clone()
The objects of this class are cloneable with this method.
MsRun$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.