public class ResamplingGWASPlugin
extends AbstractPlugin
public ResamplingGWASPlugin(java.awt.Frame parentFrame,
boolean isInteractive)
protected void preProcessParameters(DataSet input)
public java.lang.String pluginDescription()
public javax.swing.ImageIcon getIcon()
public java.lang.String getButtonName()
public java.lang.String getToolTipText()
public void setRandomSeed(int seed)
Initializes the random number generator with a seed. Primarily used for testing to generate reproducible results.
seed - the seed for the Random objectpublic TableReport runPlugin(DataSet input)
Convenience method to run plugin with one return object.
public java.lang.Double enterLimit()
A new term entering the model must have a p-value equal to or less than the enter limit. (Default = 1e-8)
public ResamplingGWASPlugin enterLimit(java.lang.Double value)
Set Enter Limit. A new term entering the model must have a p-value equal to or less than the enter limit. (Default = 1e-8)
value - Enter Limitpublic java.lang.Boolean useResiduals()
Should new terms be tested using residuals from the prior model? The analysis runs faster using this option. (Default = true)
public ResamplingGWASPlugin useResiduals(java.lang.Boolean value)
Set Use residuals. Should new terms be tested using residuals from the prior model? The analysis runs faster using this option. (Default = true)
value - Use residualspublic java.lang.Integer numberOfIterations()
The number of times the data should be resampled. (Default = 100)
public ResamplingGWASPlugin numberOfIterations(java.lang.Integer value)
Set Number of Iterations. The number of times the data should be resampled. (Default = 100)
value - Number of Iterationspublic java.lang.Double resampleProportion()
The size of the sample is resample proportion times the number of observations in the complete data. For bootstrap, set this value to 1 and with replacement to true. (Default = 0.8)
public ResamplingGWASPlugin resampleProportion(java.lang.Double value)
Set Resample Proportion. The size of the sample is resample proportion times the number of observations in the complete data. For bootstrap, set this value to 1 and with replacement to true. (Default = 0.8)
value - Resample Proportionpublic java.lang.Boolean withReplacement()
Should the sample be formed by sampling with replacement? (Default = false)
public ResamplingGWASPlugin withReplacement(java.lang.Boolean value)
Set With Replacement. Should the sample be formed by sampling with replacement? (Default = false)
value - With Replacement