Public fields
prefix
character
msg
character
line_number
integer [optional]
Methods
Method new()
Create a Comment
Usage
Comment$new(prefix, msg, line_number = NULL, ...)
Arguments
prefix
'COM'.
msg
Comment content.
line_number
Line number in the mzTab-M file.
...
local optional variable arguments
Method toJSON()
Serialize to list object suitable for jsonlite
Method fromJSON()
Deserialize from jsonlite list object
Usage
Comment$fromJSON(CommentJson)
Method toJSONString()
Serialize to JSON string.
Method fromJSONString()
Deserialize from JSON string
Usage
Comment$fromJSONString(CommentJson)
Method toDataFrame()
Serialize to data frame
Method fromDataFrame()
Deserialize from comment data frame
Usage
Comment$fromDataFrame(CommentDataFrame)
Arguments
CommentDataFrame
Comment data frame
Method clone()
The objects of this class are cloneable with this method.
Usage
Comment$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.