cbind-SpatialFeatureExperiment-method: Concatenate SpatialFeatureExperiment objects

cbind,SpatialFeatureExperiment-methodR Documentation

Concatenate SpatialFeatureExperiment objects

Description

On top of the cbind method of SpatialExperiment, this method is needed to properly merge the spatialGraphs field in the different SFE objects.

Usage

## S4 method for signature 'SpatialFeatureExperiment'
cbind(..., deparse.level = 1)

Arguments

...

SFE objects to cbind.

deparse.level

See ?rbind.

Value

A combined SFE object.

Examples

library(SFEData)
sfe_small <- McKellarMuscleData(dataset = "small")
sfe_small2 <- McKellarMuscleData(dataset = "small2")
sfe2 <- cbind(sfe_small, sfe_small2)

pachterlab/SpatialFeatureExperiment documentation built on March 11, 2024, 11:11 p.m.