# HG changeset patch # User joachim-jacob # Date 1373371528 14400 # Node ID 2a3f30c6e8c995ce401a889bc30f95ef7f94c71b Uploaded diff -r 000000000000 -r 2a3f30c6e8c9 README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Tue Jul 09 08:05:28 2013 -0400 @@ -0,0 +1,9 @@ +knitrtest - 1.0.0 +============================= + + +SUMMARY +------- +This tool is to exemplify the use of knitr +for generating html document displaying output of +R code. diff -r 000000000000 -r 2a3f30c6e8c9 README~ --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README~ Tue Jul 09 08:05:28 2013 -0400 @@ -0,0 +1,26 @@ +Tool - 1.0.0 +============================= + + +SUMMARY +------- +This tool does/allows you/... + +REQUIREMENTS AND INSTALLATION +----------------------------- +Install this tool in your Galaxy via the Toolshed + + ) Third party code installation + For installation instructions of these tools, visit: + http://www.clcbio.com/index.php?id=1331 + + ) Integration into Galaxy + Add the necessary .loc files and add a tag set according to + tool_data_tables.xml. See the two sample files to assist you in + this process. + +DETAILS AND ISSUES +------------------ + ) First issue to be solved in later release + ) Situations in which the tool will not work + ) .... diff -r 000000000000 -r 2a3f30c6e8c9 knitrtest.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/knitrtest.xml Tue Jul 09 08:05:28 2013 -0400 @@ -0,0 +1,110 @@ + + Additional info: wrapper compatible with versions ..... + + for R scripts plugins. + + + + biocbasics + package_r3 + + + + /usr/local/bin/R CMD BATCH ${runme} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Differential expression analysis +================================ + +Loading the R environment +```{r} +# Original edgeR code by: S.Lunke and A.Kaspi +reallybig = log10(.Machine\$double.xmax) +reallysmall = log10(.Machine\$double.xmin) +library('stringr') +library('gplots') +library('DESeq') +library('edgeR') +``` + +Reading count table from parameters +```{r} +filename="$counttable" +raw_counts = read.csv(filename, header=TRUE, stringsAsFactors=F) +``` + +And printing the count table +```{r} +head(raw_counts) +``` + +End of markdown script. + + + require(knitr) + require(markdown) + knit("${inputscript}", "test.md") + markdownToHTML("test.md", "${html_file}") + + + + + + + +**knitr test** +Testing whether two config files can be nested. + + +