ct.gRNARankByReplicate | R Documentation |
This function median scales and log2 transforms the raw gRNA count data contained in an ExpressionSet, and then plots the ordered expression values within each replicate. The curve colors are assigned based on a user- specified column of the pData contained in the ExpressionSet. Optionally, this function can plot the location of Nontargeting control guides (or any guides, really) within the distribution.
ct.gRNARankByReplicate( eset, sampleKey, annotation = NULL, geneSymb = NULL, lib.size = NULL )
eset |
An ExpressionSet object containing, at minimum, count data accessible by exprs() and some phenoData. |
sampleKey |
A sample key, supplied as a (possibly ordered) factor linking the samples to experimental
variables. The |
annotation |
An annotation dataframe indicating the nontargeting controls in the geneID column. |
geneSymb |
The |
lib.size |
An optional vector of voom-appropriate library size adjustment factors, usually calculated with |
A waterfall plot as specified, 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.gRNARankByReplicate(es, sk, ann, 'Target1377')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.