sampleQcPlot.sampleDataset: Generate a panel of sample QC plots across a list of...

View source: R/plot.R

sampleQcPlot.sampleDatasetR Documentation

Generate a panel of sample QC plots across a list of qcMetrics

Description

Generate a panel of sample QC plots across a list of qcMetrics

Usage

## S3 method for class 'sampleDataset'
sampleQcPlot(object, qcMetrics, annotation = NULL,
  geom = c("scatter", "violin", "hist"), outliers = NULL, legend = T,
  main = "QC", position = c("right", "bottom"), ncols = 5, show = TRUE)

Arguments

object

SampleDataset object

qcMetrics

a character string or a vector includes QC metrics to explore; if unspecified, all QC metrics in the SDS will be used.

geom

a character string indicating which visualization pattern to be used. One of strings 'scatter', 'violin' or 'hist' can be used.

outliers

a vector of IDs of outliers to show on the figure

legend

whether to include a legend or not

position

position of the legend

annotations

a character string of sample annotation to stratify by

Value

a list of grob objects


xiaolicbs/samplyzer documentation built on Sept. 4, 2023, 9:23 p.m.