demuxBarplot {basecallQC} | R Documentation

## Barplot of Illumina demultiplexing statistics.

### Description

Produces a barplot of demultiplexing statistics of reads with perfect/mismatched barcode.

### Usage

    ## S4 method for signature 'baseCallQC'
    demuxBarplot(object,groupBy)

    ## S4 method for signature 'basecallQC'
    demuxBarplot(object = "basecallQC",
      groupBy = c("Lane"))

    ## S4 method for signature 'list'
    demuxBarplot(object = "basecallQC", groupBy = c("Lane"))

### Arguments

`object` | A basecallQC object or list from call to demultiplexMetrics()
`groupBy` | Character vector of how data is grouped for plotting. Should be either "Project","Sample" or "Lane".

### Value

A ggplot2 object.

### Author(s)

Thomas Carroll and Marian Dore

### Examples

    fileLocations <- system.file("extdata",package="basecallQC")
    runXML <- dir(fileLocations,pattern="runParameters.xml",full.names=TRUE)
    config <- dir(fileLocations,pattern="config.ini",full.names=TRUE)
    sampleSheet <- dir(fileLocations,pattern="*\\.csv",full.names=TRUE)
    outDir <- file.path(fileLocations,"Runs/161105_D00467_0205_AC9L0AANXX/C9L0AANXX/")
    bcl2fastqparams <- BCL2FastQparams(runXML,config,runDir=getwd(),outDir,verbose=FALSE)
    bclQC <- basecallQC(bcl2fastqparams,RunMetaData=NULL,sampleSheet)
    plot <- demuxBarplot(bclQC)

[Package basecallQC version 1.18.0 Index]