View source: R/ViewTopTargets.R
ct.topTargets | R Documentation |
This is a function for displaying candidates from a crispr screen, using the information summarized
in the corresponding fit
and the output from ct.generateResults()
. The fold change and standard deviation
estimates for each gRNA associated with each target (extracted from the coefficients
and stdev.unscaled
slot
of fit
) are plotted on the y axis. Targets are selected on the basis of their gene-level enrichment or depletion
P-values; in the case of ties, they are ranked on the basis of their corresponding Rho statistics.
ct.topTargets( fit, summaryDF, annotation, targets = 10, enrich = TRUE, contrast.term = NULL )
fit |
An object of class |
summaryDF |
A data.frame summarizing the results of the screen, returned by the function |
annotation |
An annotation object for the experiment. gRNAs are annotated by
row, and must minimally contain a column |
targets |
Either the number of top targets to display, or a list of |
enrich |
Logical indicating whether to display guides that are enriched (default) or depleted within the screen. If a vector of
|
contrast.term |
If a fit object with multiple coefficients is passed in, a string indiating the coefficient of interest. |
An image on the default device indicating each gRNA's log2 fold change and the unscaled standard deviation of the effect estimate,
derived from the MArrayLM
object.
Russell Bainer
data('fit') data('resultsDF') data('ann') ct.topTargets(fit, resultsDF, ann)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.