Description Usage Arguments Value Author(s) Examples
View source: R/generateReports.R
This is a function to generate an html Contrast report for a
CRISPR screen, focusing on contrast-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 | ct.makeContrastReport(
eset,
fit,
sampleKey,
results,
annotation,
comparison.id,
identifier,
contrast.subset = colnames(eset),
outdir = NULL
)
|
eset |
An ExpressionSet object containing, at minimum, a matrix of gRNA
abundances extractable with the |
fit |
A fit object for the contrast of interest, usually generated with
|
sampleKey |
A sample key, supplied as an ordered factor linking the
samples to experimental variables. The |
results |
A data.frame summarizing the results of the screen, returned
by the function |
annotation |
An annotation object for the experiment. See the man page
for |
comparison.id |
character with a name of the comparison. |
identifier |
A character string to name the report and corresponding
subdirectories. If provided, the final report will be called
' |
contrast.subset |
character vector containing the sample
labels to be used in the analysis; all elements must be contained in 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 11 | data('es')
data('fit')
data('ann')
data('resultsDF')
##' #Build the sample key
library(Biobase)
sk <- ordered(relevel(as.factor(pData(es)$TREATMENT_NAME), "ControlReference"))
names(sk) <- row.names(pData(es))
path2report <- ct.makeContrastReport(es, fit, sk, resultsDF, ann, comparison.id = NULL, outdir = ".")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.