Description Usage Arguments Value Author(s) Examples
View source: R/generateReports.R
This is a function to generate an html QC report for a CRISPR
screen, focusing on experiment-level and library-level analyses collected
from other functions in gCrisprTools
. It is designed to be used
'as-is', and analysts interested in using different functionalities of the
various functions should do that outside of this wrapper script.
1 2 3 4 5 6 7 8 9 10 11 12 | ct.makeQCReport(
eset,
trim,
log2.ratio,
sampleKey,
annotation,
aln,
identifier = NULL,
lib.size,
geneSymb = NULL,
outdir = NULL
)
|
eset |
An ExpressionSet object containing, at minimum, a matrix of gRNA
abundances extractable with the |
trim |
The number of gRNAs to be trimmed from the top of the distribution before estimating the abundance range. Empirically, this usually should be equal to about 2 to 5 percent of the guides in the library. |
log2.ratio |
Maximum abundance of contaminant gRNAs, expressed on the
log2 scale from the top of the trimmed range of each sample. That is,
|
sampleKey |
A sample key, supplied as an ordered factor linking the
samples to experimental variables. The |
annotation |
An annotation object for the experiment. See the man page
for |
aln |
A numeric alignment matrix, where rows correspond to "targets", "nomatch", "rejections", and "double_match", and where columns correspond to experimentasl samples. |
identifier |
A character string to name the report and corresponding
subdirectories. If provided, the final report will be called
' |
lib.size |
An optional vector of voom-appropriate library size adjustment factors, usually calculated with |
geneSymb |
The |
outdir |
An optional character string indicating the directory in which
to generate the report. If |
The path to the generated html report.
Russell Bainer, Dariusz Ratman
1 2 3 4 5 6 7 8 9 10 | data('es')
data('ann')
data('aln')
##' #Build the sample key
library(Biobase)
sk <- ordered(relevel(as.factor(pData(es)$TREATMENT_NAME), "ControlReference"))
names(sk) <- row.names(pData(es))
path2report <- ct.makeQCReport(es, trim = 1000, log2.ratio = 0.0625, sk, ann, aln, identifier = NULL, lib.size = NULL, geneSymb = 'NoTarget', outdir = ".")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.