Description Usage Arguments Details Value Author(s) References See Also Examples
Creates an automated html report for the complete TEQC analysis of one sample
1 2 3 4 | TEQCreport(sampleName = "", targetsName = "", referenceName = "", destDir = "TEQCreport",
reads = get.reads(), targets = get.targets(), Offset = 0, pairedend = FALSE, genome = c(NA, "hg38", "hg19", "hg18"),
genomesize, k=c(1, 2, 3, 5, 10, 20), covthreshold = 8, CovUniformityPlot = FALSE, CovTargetLengthPlot = FALSE, CovGCPlot = FALSE,
duplicatesPlot = FALSE, baits = get.baits(), WigFiles = FALSE, saveWorkspace = FALSE, figureFormat = c("jpeg", "png", "tiff"))
|
sampleName |
descriptive sample name; will be written on top of the html report |
targetsName |
descriptive name of the captured target; will be written on top of the html report |
referenceName |
descriptive name of the reference genome the reads were aligned against; will be written on top of the html report |
destDir |
directory where results and html documents shall be saved |
reads |
|
targets |
|
Offset |
integer; add |
pairedend |
if |
genome |
genome version targets were designed and reads aligned to. For the given options the total genome size is set automatically. For other genomes or versions, leave this option empty ('NA') and specify the genome size with option 'genomesize' |
genomesize |
integer: specify the total genome size manually. If 'genomesize' is given, option 'genome' will be ignored. |
k |
integer vector of |
covthreshold |
integer indicating which coverage value shall be highlighted by dashed lines in the coverage histogram. Passed to |
CovUniformityPlot |
if |
CovTargetLengthPlot |
if |
CovGCPlot |
if |
duplicatesPlot |
if |
baits |
A |
WigFiles |
if |
saveWorkspace |
if |
figureFormat |
format of the figures produced for the html report (besides pdf graphs) |
TEQC analysis is performed and files for an html report are created in destDir
.
The report can be viewed by opening destDir
/index.html in a web browser. Images are saved in
destDir
/image. Wiggle files (in case WigFiles = TRUE
) are saved in
destDir
/wiggle. A table with general target coverage statistics, a table with average coverage values per target, a table with cumulative fractions of targeted bases with certain coverage and the R workspace
containing R objects for potential further analysis (in case saveWorkspace = TRUE
)
are saved in destDir
.
The function is invoked for its side effect
Manuela Hummel m.hummel@dkfz.de
Hummel M, Bonnin S, Lowy E, Roma G. TEQC: an R-package for quality control in target capture experiments. Bioinformatics 2011; 27(9):1316-1317
get.reads
, get.targets
, fraction.target
, fraction.reads.target
,
coverage.target
, readsPerTarget
, reads2pairs
,
covered.k
, coverage.hist
, coverage.uniformity
,
coverage.targetlength.plot
, coverage.GC
, get.baits
,
make.wigfiles
1 2 3 4 5 6 7 8 9 10 11 | ## get reads and targets files
exptPath <- system.file("extdata", package="TEQC")
readsfile <- file.path(exptPath, "ExampleSet_Reads.bed")
targetsfile <- file.path(exptPath, "ExampleSet_Targets.bed")
## create report
## Not run:
TEQCreport(sampleName="Test Sample", targetsName="Human Exome", referenceName="Human Genome",
destDir="report", reads=get.reads(readsfile, skip=0, idcol=4),
targets=get.targets(targetsfile, skip=0), genome="hg19")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.