asGiotto: Transform SPATA2 object to Giotto object

View source: R/adj-aZ.R

asGiottoR Documentation

Transform SPATA2 object to Giotto object

Description

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

Usage

asGiotto(object, transfer_features = TRUE, verbose = NULL)

Arguments

object

Objects of classes for which a method has been defined.

transfer_features, transfer_meta_data

Logical or character. Specifies if meta/feature, e.g clustering, data from the input object is transferred to the output object. If TRUE, all variables of the feature/meta data.frame are transferred. If character, named variables are transferred. If FALSE, none are transferred.

verbose

Logical. If TRUE, progress messages will be printed. Default is TRUE.

Details

The object is created using the count matrix of the input as well as coordinates. If an image is found it is transferred, too. No further processing is done (e.g. Giotto::normalizeGiotto(), Giotto::runPCA()).

Value

An object of class Giotto.


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