Package org.snpeff.geneSets
Class Result
java.lang.Object
org.snpeff.geneSets.Result
- All Implemented Interfaces:
Comparable<Result>
Store a result form a greedy search algorithm
- Author:
- Pablo Cingolani
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGeneSetCount(int count) Add an item to the list of countsintintorg.apfloat.ApfloatdoubleP-Value adjusted usingdoublebooleanisEmpty()voidSer a new list and pvaluevoidsetGeneSetCount(List<Integer> geneSetCount) voidsetGeneSetCountLast(int count) voidsetGeneSets(List<GeneSet> newGeneSets) Assign geneSetsvoidsetPvalue(double pValue) voidsetPvalue(org.apfloat.Apfloat pValue) toString()
-
Constructor Details
-
Result
public Result() -
Result
-
Result
-
Result
-
-
Method Details
-
addGeneSetCount
public void addGeneSetCount(int count) Add an item to the list of counts- Parameters:
count-
-
compareTo
- Specified by:
compareToin interfaceComparable<Result>
-
getGeneSetCount
-
getGeneSetCountLast
public int getGeneSetCountLast() -
getGeneSets
-
getLatestGeneSet
-
getPvalue
public org.apfloat.Apfloat getPvalue() -
getPvalueAdjusted
public double getPvalueAdjusted()P-Value adjusted using- Returns:
-
getPvalueDouble
public double getPvalueDouble() -
isEmpty
public boolean isEmpty() -
set
Ser a new list and pvalue- Parameters:
geneSets-pvalue-
-
setGeneSetCount
-
setGeneSetCountLast
public void setGeneSetCountLast(int count) -
setGeneSets
Assign geneSets- Parameters:
newGeneSets-
-
setPvalue
public void setPvalue(org.apfloat.Apfloat pValue) -
setPvalue
public void setPvalue(double pValue) -
toString
-