QC_Plots_Combined_Vln {scCustomize} | R Documentation |
QC Plots Genes, UMIs, & % Mito
Description
Custom VlnPlot for initial QC checks including lines for thresholding
Usage
QC_Plots_Combined_Vln(
seurat_object,
group.by = NULL,
feature_cutoffs = NULL,
UMI_cutoffs = NULL,
mito_cutoffs = NULL,
mito_name = "percent_mito",
pt.size = NULL,
plot_median = FALSE,
median_size = 15,
plot_boxplot = FALSE,
colors_use = NULL,
x_lab_rotate = TRUE,
y_axis_log = FALSE,
raster = NULL,
ggplot_default_colors = FALSE,
color_seed = 123,
...
)
Arguments
seurat_object |
Seurat object name. |
group.by |
Name of one or more metadata columns to group (color) cells by (for example, orig.ident); default is the current active.ident of the object. |
feature_cutoffs |
Numeric vector of length 1 or 2 to plot lines for potential low/high threshold for filtering. |
UMI_cutoffs |
Numeric vector of length 1 or 2 to plot lines for potential low/high threshold for filtering. |
mito_cutoffs |
Numeric vector of length 1 or 2 to plot lines for potential low/high threshold for filtering. |
mito_name |
The column name containing percent mitochondrial counts information. Default value is
"percent_mito" which is default value created when using |
pt.size |
Point size for plotting |
plot_median |
logical, whether to plot median for each ident on the plot (Default is FALSE). |
median_size |
Shape size for the median is plotted. |
plot_boxplot |
logical, whether to plot boxplot inside of violin (Default is FALSE). |
colors_use |
vector of colors to use for plot. |
x_lab_rotate |
Rotate x-axis labels 45 degrees (Default is TRUE). |
y_axis_log |
logical. Whether to change y axis to log10 scale (Default is FALSE). |
raster |
Convert points to raster format. Default is NULL which will rasterize by default if greater than 100,000 total points plotted (# Cells x # of features). |
ggplot_default_colors |
logical. If |
color_seed |
random seed for the "varibow" palette shuffle if |
... |
Extra parameters passed to |
Value
A ggplot object
Examples
## Not run:
QC_Plots_Combined_Vln(seurat_object = object)
## End(Not run)