R/QC_Plotting_Seq_10X.R
Seq_QC_Plot_Transcriptome.Rd
Plot the fraction of reads confidently mapped to transcriptome
Seq_QC_Plot_Transcriptome(
metrics_dataframe,
plot_by = "sample_id",
colors_use = NULL,
dot_size = 1,
x_lab_rotate = FALSE,
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.
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_Transcriptome(metrics_dataframe = metrics)
}