ct.viewGuides | R Documentation |
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.
ct.viewGuides( gene, fit, ann, type = "geneSymbol", contrast.term = NULL, ylims = NULL )
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 |
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. |
ylims |
An optional numeric vector of length 2 indicating the extremes of the y-axis scale. |
An image summarizing gRNA behavior within the specifed gene on the default device.
Russell Bainer
data('fit') data('ann') ct.viewGuides('Target1633', fit, ann)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.