public class LDKNNiImputationHetV2Plugin extends AbstractPlugin
DEFAULT_CITATION, POSITION_LIST_NONE, TAXA_LIST_NONE
Constructor and Description |
---|
LDKNNiImputationHetV2Plugin() |
LDKNNiImputationHetV2Plugin(Frame parentFrame,
boolean isInteractive) |
Modifier and Type | Method and Description |
---|---|
Double |
automaticMajorMAF()
Set to Major genotype if no imputation result and MAF
is below threshold
|
LDKNNiImputationHetV2Plugin |
automaticMajorMAF(Double value)
Set Automatic MajorGenotype if MAF.
|
static double[] |
dist(byte[] b1,
byte[] b2,
int min)
Alternative to current IBS distance measure
AA <> AA = 0
Aa <> Aa = 0 distance (normal IBS distance this is 0.5)
AA <> aa = 1 distance
|
Double |
duplicateHetsThreshold()
Threshold for defining heterozygous sites
|
LDKNNiImputationHetV2Plugin |
duplicateHetsThreshold(Double value)
Set HeterozygousThreshold.
|
String |
getButtonName()
Button name for this plugin to be used in buttons, etc.
|
String |
getCitation()
Returns Citation for this plugin.
|
ImageIcon |
getIcon()
Icon for this plugin to be used in buttons, etc.
|
String |
getToolTipText()
Tool Tip Text for this plugin
|
Integer |
highLDSSites()
Number of sites in high LD to use in imputation
|
LDKNNiImputationHetV2Plugin |
highLDSSites(Integer value)
Set High LD Sites.
|
Integer |
knnTaxa()
Number of neighbors to use in imputation
|
LDKNNiImputationHetV2Plugin |
knnTaxa(Integer value)
Set Number of nearest neighbors.
|
static void |
main(String[] args) |
Integer |
maxCores()
Maximum number of cores to be used for processing
|
LDKNNiImputationHetV2Plugin |
maxCores(Integer value)
Set Maximum number of cores for processing.
|
Integer |
maxDistance()
Maximum physical distance between sites to search for
LD (-1 for no distance cutoff - unlinked chromosomes
will be tested)
|
LDKNNiImputationHetV2Plugin |
maxDistance(Integer value)
Set Max distance between site to find LD.
|
Double |
maxDistanceFromNN()
Maximum distance from Nearest Neighbor
|
LDKNNiImputationHetV2Plugin |
maxDistanceFromNN(Double value)
Set Maximum distance from Nearest Neighbor.
|
Double |
minCallBestGenoRatio()
Minimum ratio between best and second best genotype
to make a call
|
LDKNNiImputationHetV2Plugin |
minCallBestGenoRatio(Double value)
Set Minimum support ratio for best genotype.
|
Double |
minCoverageForDonors()
Minimum coverage for donor genotype and LD calculation
|
LDKNNiImputationHetV2Plugin |
minCoverageForDonors(Double value)
Set Minimum coverage for donors and LD.
|
DataSet |
processData(DataSet input)
For the new Generic Plugin Parameter design, performFunction() will
automatically call this.
|
GenotypeTable |
runPlugin(DataSet input)
Convenience method to run plugin with one return object.
|
addListener, cancel, convert, dataSetReturned, getInputs, getMenu, getPanel, getParameter, getParameter, getParentFrame, getUsage, getUsageHTML, isInteractive, performFunction, pluginDescription, pluginUserManualURL, progress, progress, receiveInput, reverseTrace, run, setConfigParameters, setParameter, setParameter, setParameter, setParameters, setParametersToDefault, setThreaded, trace, wasCancelled
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPluginInstance, getPluginInstance, isPlugin
public LDKNNiImputationHetV2Plugin()
public LDKNNiImputationHetV2Plugin(Frame parentFrame, boolean isInteractive)
public DataSet processData(DataSet input)
Plugin
processData
in interface Plugin
processData
in class AbstractPlugin
input
- inputpublic String getCitation()
Plugin
getCitation
in interface Plugin
getCitation
in class AbstractPlugin
public ImageIcon getIcon()
Plugin
public String getButtonName()
Plugin
public String getToolTipText()
Plugin
public static void main(String[] args)
public GenotypeTable runPlugin(DataSet input)
public Integer highLDSSites()
public LDKNNiImputationHetV2Plugin highLDSSites(Integer value)
value
- High LD Sitespublic Integer knnTaxa()
public LDKNNiImputationHetV2Plugin knnTaxa(Integer value)
value
- Number of nearest neighborspublic Integer maxDistance()
public LDKNNiImputationHetV2Plugin maxDistance(Integer value)
value
- Max distance between site to find LDpublic Double maxDistanceFromNN()
public LDKNNiImputationHetV2Plugin maxDistanceFromNN(Double value)
value
- Maximum distance from Nearest Neighborpublic Double duplicateHetsThreshold()
public LDKNNiImputationHetV2Plugin duplicateHetsThreshold(Double value)
value
- HeterozygousThresholdpublic Double automaticMajorMAF()
public LDKNNiImputationHetV2Plugin automaticMajorMAF(Double value)
value
- Automatic MajorGenotype if MAFpublic Double minCoverageForDonors()
public LDKNNiImputationHetV2Plugin minCoverageForDonors(Double value)
value
- Minimum coverage for donors and LDpublic Double minCallBestGenoRatio()
public LDKNNiImputationHetV2Plugin minCallBestGenoRatio(Double value)
value
- Minimum support ratio for best genotypepublic Integer maxCores()
public LDKNNiImputationHetV2Plugin maxCores(Integer value)
value
- Maximum number of cores for processingpublic static double[] dist(byte[] b1, byte[] b2, int min)
Copyright © 2018. All rights reserved.