merge.StdAssay {SeuratObject} | R Documentation |
Merge Assays
Description
Merge one or more v5 assays together
Usage
## S3 method for class 'StdAssay'
merge(x, y, labels = NULL, add.cell.ids = NULL, collapse = FALSE, ...)
Arguments
x |
An |
y |
One or more |
labels |
A character vector equal to the number of objects; defaults to
|
add.cell.ids |
A character vector equal to the number of objects
provided to append to all cell names; if |
collapse |
If |
... |
Ignored |
Details
Note: collapsing layers is currently not supported
Value
A new v5 assay with data merged from c(x, y)
Note
All assays must be of the same type; merging different v5 assays (eg.
Assay5
and Assay5T
) is currently unsupported
[Package SeuratObject version 5.1.0 Index]