StudyVariable | R Documentation |
StudyVariable Class
An R6Class
generator object
id
integer
name
character
assay_refs
list( Assay ) [optional]
average_function
Parameter [optional]
variation_function
Parameter [optional]
description
character [optional]
factors
list( Parameter ) [optional]
new()
Create a StudyVariable
StudyVariable$new( id, name, assay_refs = NULL, average_function = NULL, variation_function = NULL, description = NULL, factors = NULL, ... )
id
StudyVariable id.
name
StudyVariable name.
assay_refs
Reference to list( Assay ).
average_function
The averaging function used to calculate abundance_study_variable, defined by Parameter.
variation_function
The variation function used to calculate abundance_variation_study_variable, defined by Parameter.
description
Description of the StudyVariable.
factors
A list of study variable factors list( Parameter ).
...
local optional variable arguments
toJSON()
Serialize to list object suitable for jsonlite
StudyVariable$toJSON()
fromJSON()
Deserialize from jsonlite list object
StudyVariable$fromJSON(StudyVariableJson)
StudyVariableJson
list object.
toJSONString()
Serialize to JSON string.
StudyVariable$toJSONString()
fromJSONString()
Deserialize from JSON string
StudyVariable$fromJSONString(StudyVariableJson)
StudyVariableJson
JSON string
toDataFrame()
Serialize to data frame
StudyVariable$toDataFrame()
fromDataFrame()
Deserialize from StudyVariable data frame
StudyVariable$fromDataFrame(StudyVariableDataFrame)
StudyVariableDataFrame
StudyVariable data frame
clone()
The objects of this class are cloneable with this method.
StudyVariable$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.