merge.Assay: Merge Assays

View source: R/assay.R

merge.AssayR Documentation

Merge Assays

Description

Merge one or more v3 assays together

Usage

## S3 method for class 'Assay'
merge(
  x = NULL,
  y = NULL,
  add.cell.ids = NULL,
  merge.data = TRUE,
  labels = NULL,
  collapse = TRUE,
  ...
)

Arguments

x

An Assay object

y

One or more Assay objects

add.cell.ids

A character vector of length(x = c(x, y)); appends the corresponding values to the start of each objects' cell names

merge.data

Merge the data slots instead of just merging the counts (which requires renormalization); this is recommended if the same normalization approach was applied to all objects

labels, collapse

Currently unused

...

Ignored

Value

A new assay with data merged from c(x, y)

See Also

v3 Assay object, validity, and interaction methods: $.Assay(), Assay-class, Assay-validity, CreateAssayObject(), [.Assay(), [[.Assay(), dim.Assay(), dimnames.Assay(), split.Assay(), subset.Assay()


SeuratObject documentation built on May 29, 2024, 12:31 p.m.