|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fhcrc.cpl.toolbox.commandline.BaseCommandLineModuleImpl
org.fhcrc.cpl.viewer.commandline.modules.BaseViewerCommandLineModuleImpl
org.fhcrc.cpl.viewer.amt.commandline.AmtDatabaseDiagnosticCommandLineModule
public class AmtDatabaseDiagnosticCommandLineModule
Command line module for getting information and charts on an AMT database. Has an extra mode for saving all charts to a directory
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
_log
|
protected AmtDatabase |
amtDB
|
protected int |
mode
|
protected static int |
MODE_BASIC_INFO
|
protected static int |
MODE_COMPARE_CALC_H_TIME
|
protected static int |
MODE_COMPARE_OBS_H_CALC_H
|
protected static int |
MODE_HIST_HYDRO_STD_DEV
|
protected static int |
MODE_HIST_ID_PROBS
|
protected static int |
MODE_HIST_MASSES
|
protected static int |
MODE_PEPTIDE_DETAILS
|
protected static int |
MODE_PLOT_MASS_H
|
protected static int |
MODE_PLOT_MASS_VS_OBS_HYDRO
|
protected static int |
MODE_PLOT_RUN_H_VS_MEDIAN
|
protected static int |
MODE_PLOT_RUN_HYDRO_DIFFS
|
protected static int |
MODE_PLOT_T_H_MAPS
|
protected static int |
MODE_SAVE_ALL_CHARTS
|
protected static java.lang.String[] |
modeExplanations
|
protected static java.lang.String[] |
modeStrings
|
protected FeatureSet |
ms1FeatureSet
|
protected java.io.File |
outDir
|
protected java.io.File |
outFile
|
protected java.io.PrintWriter |
outPW
|
protected java.lang.String |
peptide
|
protected boolean |
showCharts
|
| Fields inherited from class org.fhcrc.cpl.toolbox.commandline.BaseCommandLineModuleImpl |
|---|
mArgumentDefs, mArgumentValues, mArgumentValueStrings, mCommandName, mHelpMessage, mShortDescription, mUsageMessage |
| Fields inherited from interface org.fhcrc.cpl.toolbox.commandline.CommandLineModule |
|---|
MODULE_HELP_AUTOMATIC, MODULE_USAGE_AUTOMATIC, UNNAMED_ARG_SERIES_SEPARATOR |
| Constructor Summary | |
|---|---|
AmtDatabaseDiagnosticCommandLineModule()
|
|
| Method Summary | |
|---|---|
void |
assignArgumentValues()
the first step in invoking your module. |
protected void |
basicInfo()
|
protected org.jfree.chart.JFreeChart |
compareCalculatedHAgainstTime()
Plot time vs. |
protected org.jfree.chart.JFreeChart |
compareObservedHAgainstCalculatedH()
Scatterplot observed hydrophobicity against calculated H, by run |
void |
execute()
a great big switch statement |
protected org.jfree.chart.JFreeChart |
histogramHydroStdDev()
Show a histogram of the standard deviations of hydrophobicity observations per peptide |
protected org.jfree.chart.JFreeChart |
histogramIDProbs()
|
protected org.jfree.chart.JFreeChart |
histogramMasses()
Histogram all masses in the database |
protected void |
init()
|
protected void |
peptideDetails()
|
protected org.jfree.chart.JFreeChart |
plotMassAndH()
|
protected org.jfree.chart.JFreeChart |
plotMassVersusObsHydroByRun()
Plot peptide mass vs. |
protected org.jfree.chart.JFreeChart |
plotRunHvsMedian()
Plot observed H values in each individual run vs. |
protected org.jfree.chart.JFreeChart |
showMeanHydroDiffByRun()
Show mean hydrophobicity deviation from prediction, on a handy bar chart. |
protected org.jfree.chart.JFreeChart |
showTimeHydMaps()
Plot the T->H mappings of all runs. |
| Methods inherited from class org.fhcrc.cpl.viewer.commandline.modules.BaseViewerCommandLineModuleImpl |
|---|
createUnnamedFeatureFileArgumentDefinition, createUnnamedSeriesFeatureFileArgumentDefinition, getFastaFileArgumentValue, getFeatureSetArgumentValue, getModificationListArgumentValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.fhcrc.cpl.toolbox.commandline.CommandLineModule |
|---|
digestArguments, getAdvancedArgumentDefinitions, getArgumentDefinition, getArgumentDefinitions, getArgumentDefinitionsSortedForDisplay, getArgumentValueStrings, getBasicArgumentDefinitions, getCommandName, getFullHelp, getHelpMessage, getHtmlHelpFragment, getShortDescription, getUsage, invoke |
| Field Detail |
|---|
protected static org.apache.log4j.Logger _log
protected java.io.File outFile
protected java.io.File outDir
protected java.io.PrintWriter outPW
protected int mode
protected AmtDatabase amtDB
protected boolean showCharts
protected FeatureSet ms1FeatureSet
protected java.lang.String peptide
protected static final java.lang.String[] modeStrings
protected static final java.lang.String[] modeExplanations
protected static final int MODE_COMPARE_OBS_H_CALC_H
protected static final int MODE_COMPARE_CALC_H_TIME
protected static final int MODE_PLOT_T_H_MAPS
protected static final int MODE_HIST_HYDRO_STD_DEV
protected static final int MODE_PLOT_RUN_HYDRO_DIFFS
protected static final int MODE_SAVE_ALL_CHARTS
protected static final int MODE_PLOT_MASS_VS_OBS_HYDRO
protected static final int MODE_BASIC_INFO
protected static final int MODE_HIST_MASSES
protected static final int MODE_PLOT_RUN_H_VS_MEDIAN
protected static final int MODE_PEPTIDE_DETAILS
protected static final int MODE_PLOT_MASS_H
protected static final int MODE_HIST_ID_PROBS
| Constructor Detail |
|---|
public AmtDatabaseDiagnosticCommandLineModule()
| Method Detail |
|---|
protected void init()
public void assignArgumentValues()
throws ArgumentValidationException
CommandLineModule
assignArgumentValues in interface CommandLineModuleArgumentValidationException
public void execute()
throws CommandLineModuleExecutionException
execute in interface CommandLineModuleCommandLineModuleExecutionExceptionprotected void basicInfo()
protected void peptideDetails()
protected org.jfree.chart.JFreeChart plotRunHvsMedian()
protected org.jfree.chart.JFreeChart showMeanHydroDiffByRun()
protected org.jfree.chart.JFreeChart showTimeHydMaps()
protected org.jfree.chart.JFreeChart plotMassVersusObsHydroByRun()
protected org.jfree.chart.JFreeChart compareObservedHAgainstCalculatedH()
protected org.jfree.chart.JFreeChart compareCalculatedHAgainstTime()
protected org.jfree.chart.JFreeChart histogramIDProbs()
protected org.jfree.chart.JFreeChart histogramHydroStdDev()
protected org.jfree.chart.JFreeChart histogramMasses()
protected org.jfree.chart.JFreeChart plotMassAndH()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||