R/Plotting_QC_Seq_10X.R
Seq_QC_Plot_Alignment_Combined.Rd
Plot a combined plot of the Alignment QC metrics from sequencing output.
Seq_QC_Plot_Alignment_Combined(
metrics_dataframe,
plot_by = "sample_id",
colors_use = NULL,
dot_size = 1,
x_lab_rotate = FALSE,
patchwork_title = "Sequencing QC Plots: Read Alignment Metrics",
significance = FALSE,
...
)
data.frame contain Cell Ranger QC Metrics (see Read_Metrics_10X
).
Grouping factor for the plot. Default is to plot as single group with single point per sample.
colors to use for plot if plotting by group. Defaults to RColorBrewer Dark2 palette if
less than 8 groups and DiscretePalette_scCustomize(palette = "polychrome")
if more than 8.
size of the dots plotted if plot_by
is not sample_id
Default is 1.
logical. Whether to rotate the axes labels on the x-axis. Default is FALSE.
Title to use for the patchworked plot output.
logical. Whether to calculate and plot p-value comparisons when plotting by grouping factor. Default is FALSE.
Other variables to pass to ggpubr::stat_compare_means
when doing significance testing.
A ggplot object
if (FALSE) {
Seq_QC_Plot_Alignment_Combined(metrics_dataframe = metrics)
}