Skip to contents

Precomputed clusters must be provided. In the anndata object these will be stored using the term "cluster". If celltypeColumn is anything other than cluster, then any existing "cluster" column will be overwritten by celltypeColumn. Values can be provided without colors and ids (e.g., "cluster") or with them (e.g., "cluster_label" + "cluster_color" + "cluster_id"). In this case cluster_colors is ignored and colors are taken directly from the metadata. Cluster_id's will be overwritten to match dendrogram order.

Usage

createShiny(AIT.anndata, shinyDir, metadata_names = NULL)

Arguments

AIT.anndata

A reference taxonomy anndata object.

shinyDir

The location to save files for MolGen Shiny (AIBS)

metadata_names

An optional named character vector where the vector NAMES correspond to columns in the metadata matrix and the vector VALUES correspond to how these metadata should be displayed in Shiny. This is used for writing the desc.feather file later.

Value

AIT anndata object in the specified format (only if return.anndata=TRUE)