Skip to contents

Make a dimred plot for each clustering and dimred method.

Usage

dimred_plots_clustering_fn(
  sce_dimred,
  dimred_names,
  cluster_df,
  spatial = FALSE,
  out_dir = NULL
)

Arguments

sce_dimred

A SingleCellExperiment object with computed dimreds specified in dimred_names.

dimred_names

A character vector: dimred names to use for plotting.

cluster_df

A tibble.

spatial

A logical vector, TRUE for enable pseudotissue visualization for spatial transcriptomics datasets

out_dir

A character scalar: output directory in which PDF and PNG files will be saved.

Value

A tibble. Output target: dimred_plots_clustering