plot_propensity: Plot continuous phenotype scores from fit_banyan()

View source: R/plot_propensity.R

plot_propensityR Documentation

Plot continuous phenotype scores from fit_banyan()

Description

This function allows you to visualize continuous propensity of each cell spot towards each sub-population (e.g., continuous phenoptypes) after running fit_banyan() and get_scores()

Usage

plot_propensity(fit, k = 1)

Arguments

fit

A list returned by fit_banyan(). Must have slots named "coords" and "C_scores".

k

Which cell sub-population to compute propensity towards

Value

A ggplot object


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