anndataToGiotto: anndataToGiotto

View source: R/interoperability.R

anndataToGiottoR Documentation

anndataToGiotto

Description

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

anndata_path

path to the .h5ad file

metadata_cols

metadata columns to include

instructions

giotto instructions

...

additional parameters to createGiottoObject

Details

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

Value

Giotto object


RubD/Giotto documentation built on April 29, 2023, 5:52 p.m.