spatialExperimentToGiotto: Utility function to convert a SpatialExperiment object to a...

spatialExperimentToGiottoR Documentation

Utility function to convert a SpatialExperiment object to a Giotto object

Description

Utility function to convert a SpatialExperiment object to a Giotto object

Usage

spatialExperimentToGiotto(
  spe,
  nn_network = NULL,
  sp_network = NULL,
  verbose = TRUE
)

Arguments

spe

Input SpatialExperiment object to convert to a Giotto object.

nn_network

Specify the name of the nearest neighbour network(s) in the input SpatialExperiment object. Default NULL will use all existing networks.

sp_network

Specify the name of the spatial network(s) in the input SpatialExperiment object. Default NULL will use all existing networks.

verbose

A boolean value specifying if progress messages should be displayed or not. Default TRUE.

Value

Giotto object

Examples

## Not run: 
library(SpatialExperiment)
example(read10xVisium, echo = FALSE)
spatialExperimentToGiotto(spe)

## End(Not run)

drieslab/Giotto_site_suite documentation built on April 26, 2023, 11:51 p.m.