aggregateCellsToSamples | R Documentation |
Utilty function that factilites cell-to-sample aggregation. By default, this function will sum the counts across cells to sample level.
aggregateCellsToSamples(x, ...)
## S4 method for signature 'SingleCellExperiment'
aggregateCellsToSamples(x)
x |
Object. |
... |
Additional arguments. |
Internally this function automatically obtains the cell-to-sample groupings
and then performs a sum aggregation with the aggregate()
function.
SummarizedExperiment
.
Object with cell-level counts aggregated to sample-level.
Updated 2021-09-13.
data(SingleCellExperiment_lanesplit, package = "AcidTest")
## SingleCellExperiment ====
x <- SingleCellExperiment_lanesplit
x <- aggregateCellsToSamples(x)
print(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.