Generate a Plot of individual gRNA Pair Data in a Crispr Screen

Description

This function generates a visualization of the effect estimates from a MArrayLM model result for all of the individual guides targeting a particular element, specified somewhere in the library annotation file. The estimated effect size and variance is plotted relative to zero for the specified contrast, with the color of the dot indicating the relative scale of the of the guide intercept within the model framework, with warmer colors indicating lowly expressed guides. For comparison, the density of gRNA fold change estimates is privided in a pane on the right, with white lines indicating the exact levels of the individual guides.

Usage

1
ct.viewGuides(gene, fit, ann, type = "geneSymbol", contrast.term = NULL)

Arguments

gene

the name of the target element of interest, contained within the "type" column of the annotation file.

fit

An object of class MArrayLM containing, at minimum, an "Amean" slot containing the guide level abundances, a "coefficients" slot containing the effect estimates for each guide, and an "stdev.unscaled" slot giving the coefficient standard Deviations.

ann

A data.frame object containing the gRNA annotations. At mimimum, it should have a column with the name specified by the type argument, containing the element targeted by each guide.

type

A character string indicating the column in ann containing the target of interest.

contrast.term

If a fit object with multiple coefficients is passed in, a string indiating the coefficient of interest.

Value

An image summarizing gRNA behavior within the specifed gene on the default device.

Author(s)

Russell Bainer

Examples

1
2
3
data('fit')
data('ann')
ct.viewGuides('Target1633', fit, ann)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.