ct.viewControls | R Documentation |
This function tries to identify, and then plot the abundance of, the full set of non-targeting controls from an ExpressionSet object. Ideally, the user will supply a geneSymbol present in the appropriate annotation file that uniquely identifies the nontargeting gRNAs. Absent this, the the function will search for common identifier used by nontargeting controls (geneID 'no_gid', or geneSymbol NA).
ct.viewControls( eset, annotation, sampleKey, geneSymb = NULL, normalize = TRUE, lib.size = NULL )
eset |
An ExpressionSet object containing, at minimum, a matrix of gRNA abundances extractable with the |
annotation |
An annotation data.frame for the experiment. gRNAs are annotated by
row, and must minimally contain columns |
sampleKey |
A sample key, supplied as an ordered factor linking the samples to experimental
variables. The |
geneSymb |
The |
normalize |
Logical indicating whether to attempt to normalize the data in the |
lib.size |
An optional vector of voom-appropriate library size adjustment factors, usually calculated with |
An image of nontargeting control gRNA abundances on the default device.
Russell Bainer
data('es') data('ann') #Build the sample key library(Biobase) sk <- ordered(relevel(as.factor(pData(es)$TREATMENT_NAME), 'ControlReference')) names(sk) <- row.names(pData(es)) ct.viewControls(es, ann, sk, geneSymb = NULL, normalize = FALSE) ct.viewControls(es, ann, sk, geneSymb = NULL, normalize = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.