Description Usage Arguments Value Author(s) Examples
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).
1 2 3 4 5 6 7 8 | 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
1 2 3 4 5 6 7 8 9 10 | 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.