Sample | R Documentation |
Sample Class
An R6Class
generator object
id
integer [optional]
name
character [optional]
custom
list( Parameter ) [optional]
species
list( Parameter ) [optional]
tissue
list( Parameter ) [optional]
cell_type
list( Parameter ) [optional]
disease
list( Parameter ) [optional]
description
character [optional]
new()
Create a Sample
Sample$new( id = NULL, name = NULL, custom = NULL, species = NULL, tissue = NULL, cell_type = NULL, disease = NULL, description = NULL, ... )
id
Sample id.
name
Sample name.
custom
Custom parameters list( Parameter ).
species
Species CV parameters list( Parameter ).
tissue
Tissue CV parameters list( Parameter ).
cell_type
Cell Type CV parameters list( Parameter ).
disease
Disease CV parameters list( Parameter ).
description
Description of the sample.
...
local optional variable arguments
toJSON()
Serialize to list object suitable for jsonlite
Sample$toJSON()
fromJSON()
Deserialize from jsonlite list object
Sample$fromJSON(SampleJson)
SampleJson
list object.
toJSONString()
Serialize to JSON string.
Sample$toJSONString()
fromJSONString()
Deserialize from JSON string
Sample$fromJSONString(SampleJson)
SampleJson
SampleJson string
toDataFrame()
Serialize to data frame
Sample$toDataFrame()
fromDataFrame()
Deserialize from sample data frame
Sample$fromDataFrame(SampleDataFrame)
SampleDataFrame
Sample data frame
clone()
The objects of this class are cloneable with this method.
Sample$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.