Iterate_PC_Loading_Plots {scCustomize}R Documentation

Iterate PC Loading Plots

Description

Plot PC Heatmaps and Dim Loadings for exploratory analysis

Usage

Iterate_PC_Loading_Plots(
  seurat_object,
  dims_plot = NULL,
  file_path = NULL,
  name_prefix = NULL,
  file_name = "PC_Loading_Plots",
  return_plots = FALSE
)

Arguments

seurat_object

Seurat object name.

dims_plot

number of PCs to plot (integer). Default is all dims present in PCA.

file_path

directory file path to save file.

name_prefix

prefix for file name (optional).

file_name

suffix for file name. Default is "PC_Loading_Plots".

return_plots

Whether to return the plot list (Default is FALSE). Must assign to environment to save plot list.

Value

A list of plots outputted as pdf

See Also

PCHeatmap and VizDimLoadings

Examples

## Not run: 
Iterate_PC_Loading_Plots(seurat_object = seurat, dims_plot = 25, file_path = "plots/")

## End(Not run)


[Package scCustomize version 2.1.2 Index]