banyan_viz: Plot tissue architecture labels

View source: R/banyan_viz.R

banyan_vizR Documentation

Plot tissue architecture labels

Description

This function allows you to plot (static or interactive) cell spot labels and uncertainty measures

Usage

banyan_viz(
  fit,
  pt.size = 1,
  interactive = FALSE,
  shade_uncertainty = FALSE,
  feature = NULL
)

Arguments

fit

A list returned by fit_banyan()

pt.size

The size of each cell spot point

interactive

Logical parameter controlling static or interactive nature of plot

shade_uncertainty

Logical parameter for shading of cell spots by posterior uncertainty. Must run get_scores() first.

feature

A user-provided feature (e.g., gene of interest) to visualize over tissue spaces instead of sub-population labels.

Value

A ggplot object or shiny app window


carter-allen/banyan documentation built on Nov. 30, 2022, 11:58 p.m.