Description Usage Arguments Value Examples
Performs the whole series of benchmark analysis (see compareWithNanostring
, analyzeSpikein
, compareWithPCR
, and compareSimulated
).
The function expects quantification files with the right column headers ("AJ80" and so on, or "s1","s2" and so on for the simulated data) to be in the rpath folder, and to bear some kind of recognizable name.
However, to avoid confusion, we suggest using the filename 'transcripts.quant' for transcript-level quantification, 'genes.quant' for gene-level quantification (optional), and 'simulated.quant' for transcript-level quantification of the simulated dataset (optional). If you are benchmarking both the core (12-samples) dataset and the validation (6-samples) dataset, prefix the files with, respectively, 'w12.' and 'w6.' (see example below).
If you instead want to specify files manually, use the individual underlying functions.
1 | benchmarkWrapper(rpath, ANALYSIS_NAME, qt)
|
rpath |
The path were the quantification files are stored, and where the output files will be saved. |
ANALYSIS_NAME |
The name of the analysis pipeline |
qt |
A string indicating the unit of the expression matrix (either "FPKM", "TPM" or "COUNTS"). |
Nothing, but saves a bunch of files in 'rpath' and opens an html page to browse the results.
1 2 3 4 5 6 7 | # first we create a directory and put the example quantification file in it:
data(exampledata)
dir.create("example")
write.table(exampleTranscriptLevel,"example/w12.transcripts.quant",sep="\t",quote=FALSE)
write.table(exampleGeneLevel,"example/w12.genes.quant",sep="\t",quote=FALSE)
# run the wrapper, specifying that folder:
benchmarkWrapper("example", "tophat.featureCount", qt="COUNTS")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.