anndataToGiotto#

Date

2022-10-06

https://github.com/drieslab/Giotto/tree/suite/R/interoperability.R#L19


Converts a spatial anndata (e.g. scanpy) .h5ad file into a Giotto object

Usage#

anndataToGiotto(
  anndata_path,
  metadata_cols = c("total_counts", "pct_counts_mt"),
  instructions = NULL,
  ...
)

Arguments#

Argument

Description

anndata_path

path to the .h5ad file

metadata_cols

metadata columns to include

instructions

giotto instructions

list()

additional parameters to `createGio ttoObject <#creategiottoobject>`__

Details#

Function in beta. Converts a .h5ad file into a Giotto object.

Value#

Giotto object