Custom histogram for initial QC checks including lines for thresholding
QC_Histogram(
seurat_object,
features,
low_cutoff = NULL,
high_cutoff = NULL,
split.by = NULL,
bins = 250,
colors_use = "dodgerblue",
num_columns = NULL,
plot_title = NULL,
assay = NULL,
print_defaults = FALSE
)
Seurat object name.
Feature from meta.data, assay features, or feature name shortcut to plot.
Plot line a potential low threshold for filtering.
Plot line a potential high threshold for filtering.
Feature to split plots by (i.e. "orig.ident").
number of bins to plot default is 250.
color to fill histogram bars, default is "dodgerblue".
Number of columns in plot layout.
optional, vector to use for plot title. Default is the name of the variable being plotted.
assay to pull features from, default is active assay.
return list of accepted default shortcuts to provide to features
instead
of full name.
A patchwork object
if (FALSE) {
QC_Histogram(seurat_object = object, features = "nFeature_RNA")
}