View source: R/Plotting_Seurat_Iterative.R
Iterate_PC_Loading_Plots | R Documentation |
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
)
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. |
A list of plots outputted as pdf
PCHeatmap
and VizDimLoadings
## Not run:
Iterate_PC_Loading_Plots(seurat_object = seurat, dims_plot = 25, file_path = "plots/")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.