Description Usage Arguments Value Examples
View source: R/function.compareWithNanostring.R
Loads and processes the RNAseq data before comparing it with the Nanostring quantification. Will produce a number of benchmarking plots and files in the current working directory.
1 | compareWithNanostring(ANALYSIS_NAME, rnaseq = NULL, qt, normMethod = NULL)
|
ANALYSIS_NAME |
A string indicating the name of the analysis/pipeline. Will be used in filenames, plot titles, etc. |
rnaseq |
The path to the gene-level RNAseq expression matrix. If not given, will look for relevant files in the working directory. The expression matrix should have refseq id or gene symbols in the first column/row.names, and sample names (e.g. 'AJ80') as column headers. |
qt |
A string indicating the unit of the expression matrix (either "FPKM", "TPM" or "COUNTS"). |
normMethod |
The normalization method to use (see |
Nothing, but produces many files in the working directory...
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(exampleGeneLevel,"w12.genes.quant",sep="\t",quote=FALSE)
# then we run the function, giving a name to the analysis,
# specifying the file and type of quantification:
compareWithNanostring("tophat.featureCount", "w12.genes.quant", qt="COUNTS")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.