plotQC {BaalChIP} | R Documentation

## Method plotQC

### Description

Produces different plots of QC results.

### Usage

    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

    data('BaalObject')
    plotQC(BaalObject, what = 'overall_pie')
    plotQC(BaalObject, what =  'boxplot_per_filter', addlegend=FALSE)
    plotQC(BaalObject, what =  'barplot_per_group')

[Package BaalChIP version 1.20.0 Index]