This method combines AnyHermesData objects with the same ranges but different
samples (columns in assays).
Value
The combined AnyHermesData object.
Note
Note that this just inherits
SummarizedExperiment::cbind,SummarizedExperiment-method(). When binding aAnyHermesDataobject with aSummarizedExperiment::SummarizedExperimentobject, then the result will be aSummarizedExperiment::SummarizedExperimentobject (the more general class).Note that the combined object needs to have unique sample IDs (column names).
See also
rbind to row bind objects.
Examples
a <- hermes_data[, 1:10]
b <- hermes_data[, 11:20]
result <- cbind(a, b)
class(result)
#> [1] "HermesData"
#> attr(,"package")
#> [1] "hermes"
