add.data | R Documentation |
Add a dataset to a SPEAR object.
add.data(data, response = NULL, name = NULL)
response |
Column name(s) of colData from MultiAssayExperiment that will be the response(s). More than one response should be inputted as a vector. |
name |
Name for the stored dataset in the SPEAR object. Access via 'SPEAR$get.data(__name__)' |
mae |
MultiAssayExperiment with multi-omics data. Columns of ExperimentList must match (correspond to sample identifiers) and link to rows of colData (with response/responses). |
SPEAR <- SPEAR$new(...)
SPEAR$add.data(MultiAssayExperiment(...), response = "death", name = "dataset1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.