This method combines AnyHermesData objects with the same samples but different
features of interest (rows in assays).
Value
The combined AnyHermesData object.
Note
Note that this just inherits
SummarizedExperiment::rbind,SummarizedExperiment-method(). When binding aAnyHermesDataobject with aSummarizedExperiment::SummarizedExperimentobject, then the result will be aSummarizedExperiment::SummarizedExperimentobject (the more general class).Note that we need to have unique gene IDs (row names) and the same prefix across the combined object.
See also
cbind to column bind objects.
Examples
a <- hermes_data[1:2542, ]
b <- hermes_data[2543:5085, ]
result <- rbind(a, b)
class(result)
#> [1] "HermesData"
#> attr(,"package")
#> [1] "hermes"
