Method plotQC

Share:

Description

Method plotQC

Produces different plots of QC results.

Usage

1
2
3
4
5
plotQC(.Object, what = "barplot_per_group", addlegend = TRUE, plot = TRUE)

## S4 method for signature 'BaalChIP'
plotQC(.Object, what = "barplot_per_group",
  addlegend = TRUE, plot = TRUE)

Arguments

.Object

An object of the BaalChIP class.

what

A single character value indicating the type of plot. Options:

  • overall_pie: plots the average percentage of variants in each filter category (averaged across all groups analysed).

  • boxplot_per_filter: plots the number of variants that were filtered out per filter category.

  • barplot_per_group: plots the number of variants that were filtered out per group.

addlegend

A logical value indicating if legend should be included in the plot (default TRUE).

plot

a logical value to whether it should plot (TRUE) or not (FALSE). Default is TRUE.

Value

A plot

Author(s)

Ines de Santiago

See Also

BaalChIP.run, summaryQC

Examples

1
2
3
4
data('BaalObject')
plotQC(BaalObject, what = 'overall_pie')
plotQC(BaalObject, what =  'boxplot_per_filter', addlegend=FALSE)
plotQC(BaalObject, what =  'barplot_per_group')