add_se {MultiDataSet} | R Documentation |
SummarizedExperiment
to MultiDataSet
.This method adds or overwrites a slot of a MultiDataSet
with the content
of the given SummarizedExperiment
.
add_se(object, set, dataset.type, dataset.name = NULL, sample.tables = NULL, feature.tables = NULL, warnings = TRUE, overwrite = FALSE, GRanges)
object |
|
set |
Object derived from |
dataset.type |
Character with the type of data of the omic set (e.g. expression, methylation...) |
dataset.name |
Character with the specific name for this set (NULL by default). It is useful when there are several sets of the same type (e.g. multiple expression assays) |
sample.tables |
Character with the names of the slots with sample data besides colData. |
feature.tables |
Character with the names of the slots with feature data besides rowData. |
warnings |
Logical to indicate if warnings will be displayed. |
overwrite |
Logical to indicate if the set stored in the slot will be overwritten. |
GRanges |
|
A new MultiDataSet
with a slot filled.
multi <- createMultiDataSet() se <- SummarizedExperiment::SummarizedExperiment(matrix(runif(10), 5)) multi <- add_se(multi, se, "exampledata", GRanges = NA)