plot_qc: Plot the QC metrics of an individual biological sample

Description Usage Arguments Value

View source: R/visualization.R

Description

Plot the QC metrics of an individual biological sample

Usage

1
2
3
4
5
6
7
plot_qc(
  data_list,
  metrics,
  group_by = "sample",
  plot_type = "combined",
  pal_setup = "Set2"
)

Arguments

data_list

A list of Seurat objects.

metrics

A string - the name of the QC metrics.

group_by

A string - the grouping variable in the metadata.

plot_type

A string - the type of the plot. Can take values in c("box", "violin", "combined", "density").

pal_setup

A dataframe with 2 columns - the RColorBrewer palette setup to be used;

Or a character vector of RColorBrewer palettes. Multiple palettes can be specified, in case of many levels to be colored;

Or a character vector of colors.

Value

A plot.


xmc811/Scillus documentation built on April 26, 2021, 1:41 a.m.