asSummarizedExperiment: Transform SPATA2 object to SummarizedExperiment object

View source: R/adj-aZ.R

asSummarizedExperimentR Documentation

Transform SPATA2 object to SummarizedExperiment object

Description

Transforms an SPATA2 object to an object of class SummarizedExperiment. See details for more information.

Usage

asSummarizedExperiment(object, ...)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

...

Used to absorb deprecated arguments or functions.

Details

Output object contains the count matrix in slot @assays and feature data.frame combined with barcode-spot coordinates in slot @colData.

Slot @metadata is a list that contains the image object in slot $image.

Value

An object of class SummarizedExperiment.


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.