plot_weights_doublet: Spatially plot the weights for each cell type in doublet_mode

View source: R/plotting.R

plot_weights_doubletR Documentation

Spatially plot the weights for each cell type in doublet_mode

Description

Plots the weights for each cell type as in doublet_mode. Saves as 'cell_type_weights_doublet.pdf'

Usage

plot_weights_doublet(
  cell_type_names,
  puck,
  resultsdir,
  weights_doublet,
  results_df
)

Arguments

cell_type_names

list of cell type names

puck

an object of type SpatialRNA

resultsdir

output directory

weights_doublet

a dataframe of RCTD output weights for doublets (stored in the RCTD object)

results_df

dataframe of RCTD results (stored in the RCTD object)


dmcable/RCTD documentation built on Feb. 24, 2024, 11:03 p.m.