gatk-3.8/R
kiran 62f5383859 * Added an R package, "gsalib", providing a place to store common, useful, documented R methods. To use this module, you must follow three steps:
1) Build the module with the following command:
$ ant gsalib

2) Add the module path to your ~/.Rprofile file:
.libPaths("/path/to/Sting/trunk/R/")

3) At the top of each R script that will use the library, include the line:
library(gsalib)

You can now use the package like any other R package.  To get high-level documentation, supply the following command to R:
help(gsalib)

The methods contained herein are:

    getargs         : A method to easily provide arguments to interactive and non-interactive scripts.
                        Prints out a help message specifying how the script should be run if no arguments
                        or "-h" is provided.  Very helpful when you're writing an R-script piecemeal in
                        interactive mode, then want to make it a command-line program.
    plot.venn       : Plots a two-way or three-way proportional Venn diagram.
    read.eval       : Reads VariantEval output that's formatted in R style.
    read.gatkreport : Reads GATKReport output.
    gsa.message     : Emits a message with the prefix "[gsalib]" to stdout.
    gsa.warn        : Emits a warning message with the prefix "[gsalib] Warning:" to stdout.
    gsa.error       : Emits an error message with the prefix "[gsalib] Error: to stdout, calls traceback()
                        and halts execution.

Documentation on each of these methods can be obtained by typing "help(method_name)" at the R prompt.

* Retired GATKReport.R, as that functionality has now been moved to gsalib.
* Retired gsacommons, as that functionality has been split between gsalib and VariantReport.R.
* Modified VariantReport.R to make use of gsalib.  The script now uses the getargs() method to provide the user with some information as to the proper way to run the script.  Documentation on how to prepare output is given at http://www.broadinstitute.org/gsa/wiki/index.php/VariantEval .
* Added 'gsalib' target to build.xml file.  Running "ant gsalib" will compile this module and place the R-ready package in R/gsalib .



git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4416 348d0f76-0448-11de-a6fe-93d51630548a
2010-10-04 00:27:59 +00:00
..
VariantRecalibratorReport Removed unused dependency (it was causing a problem by looking for an X11 connection that didn't necessarily exist). 2010-09-09 19:56:00 +00:00
VariantReport * Added an R package, "gsalib", providing a place to store common, useful, documented R methods. To use this module, you must follow three steps: 2010-10-04 00:27:59 +00:00
analyzeConcordance Using bitmap() instead of png() since the former doesn't rely on X11. 2010-02-23 05:31:51 +00:00
src/gsalib * Added an R package, "gsalib", providing a place to store common, useful, documented R methods. To use this module, you must follow three steps: 2010-10-04 00:27:59 +00:00
ADPRpages.R Ready for integration with queue script 2010-09-24 19:46:01 +00:00
Data.Processing.Report.r updated version of the DPR. Now produces part of the tearsheet as well as good depth of coverage figures 2010-09-01 15:38:58 +00:00
GATKRunReport.R improvements to the report code 2010-09-15 00:45:13 +00:00
PlotDepthOfCoverage.R Moved CoverageStatistics to core. This will be (soon) renamed DepthOfCoverage; so please use CoverageStatistics 2010-03-29 13:32:00 +00:00
generateBySamplePlot.R R script for graphing depth of coverage by sample name, and generating a loess curve for each sample's data. 2009-12-10 21:58:01 +00:00
plot_Annotations_BinnedTruthMetrics.R Can run R scripts on the command line 2010-07-09 00:13:18 +00:00
plot_ClusterReport.R Can run R scripts on the command line 2010-07-09 00:13:18 +00:00
plot_OptimizationCurve.R now plots tranches separately from optimizer 2010-08-10 12:02:52 +00:00
plot_Tranches.R Nicer plotting routine for tranches. Add a third arg to suppress the legend. 2010-08-17 19:20:58 +00:00
plot_residualError_OtherCovariate.R Can run R scripts on the command line 2010-07-09 00:13:18 +00:00
plot_residualError_QualityScoreCovariate.R Can run R scripts on the command line 2010-07-09 00:13:18 +00:00
plot_variantROCCurve.R Can run R scripts on the command line 2010-07-09 00:13:18 +00:00
plotting_library.R Can run R scripts on the command line 2010-07-09 00:13:18 +00:00
tearsheet.r This script produces tearsheet and data processing report figures and tables when given Squid and Firehose produced data 2010-06-18 21:36:29 +00:00
titvFPEst.R Suppl. tools for working with and displaying GATK run reports 2010-08-31 20:32:22 +00:00
whole_exome_bait_selection.R R script for selecting a variety of baits (using %GC content and normalized coverage) for Nanostring assessment from those used in the Agilent whole exome hybrid selection design. 2009-09-22 18:10:14 +00:00