Iterate PC Loading Plots — Iterate_PC_Loading_Plots (original) (raw)
Plot PC Heatmaps and Dim Loadings for exploratory analysis
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
Examples
if (FALSE) {
Iterate_PC_Loading_Plots(seurat_object = seurat, dims_plot = 25, file_path = "plots/")
}