Make a dimred plot for each clustering and dimred method.
Source:R/visualization.R
dimred_plots_clustering_fn.Rd
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 indimred_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.