ct.alignmentChart {gCrisprTools} | R Documentation

## View a Barchart Summarizing Alignment Statistics for a Crispr Screen

### Description

This function displays the alignemnt statistics for a pooled Crispr screen, reported directly from an alignment statistic matrix.

### Usage

    ct.alignmentChart(aln, sampleKey = NULL)

### Arguments

`aln` | A numeric matrix of alignment statistics for a Crispr experiment. Corresponds to a 4xN matrix of read counts, with columns indicating samples and rows indicating the number of "targets", "nomatch", "rejections", and "double_match" reads. Details about these classes may be found in the best practices vignette or as part of the report generated with `ct.makeReport()`.
`sampleKey` | An optional ordered factor linking the samples to experimental variables. The `names` attribute should exactly match those present in `aln`.

### Value

A grouped barplot displaying the alignment statistics for each sample included in the alignment matrix, which usually corresponds to all of the samples in the experiment.

### Author(s)

Russell Bainer

### Examples

    data('aln')
    ct.alignmentChart(aln)

[Package gCrisprTools version 1.18.0 Index]