View source: R/Normalization.R
ct.normalizeNTC | R Documentation |
This function normalizes Crispr gRNA abundance estimates by equalizing the median
abundances of the nontargeting gRNAs within each sample. The normalized values are returned as normalized counts in
the 'exprs
' slot of the input eset. Note that this method may be unstable if the screening library contains
relatively few nontargeting gRNAs.
ct.normalizeNTC(eset, annotation, lib.size = NULL, geneSymb = NULL)
eset |
An ExpressionSet object containing, at minimum, count data accessible by |
annotation |
An annotation dataframe indicating the nontargeting controls in the geneID column. |
lib.size |
An optional vector of voom-appropriate library size adjustment factors, usually calculated with |
geneSymb |
The |
A normalized eset
.
Russell Bainer
data('es') data('ann') #Build the sample key and library sizes for visualization library(Biobase) sk <- ordered(relevel(as.factor(pData(es)$TREATMENT_NAME), 'ControlReference')) names(sk) <- row.names(pData(es)) ls <- colSums(exprs(es)) es.norm <- ct.normalizeNTC(es, ann, lib.size = ls, geneSymb = 'NoTarget') ct.gRNARankByReplicate(es, sk, lib.size = ls) ct.gRNARankByReplicate(es.norm, sk, lib.size = ls)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.