made all data members public.

switched logOddsVarRef to LOD.


git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@118 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
jmaguire 2009-03-20 16:44:17 +00:00
parent 9b5e5e06f9
commit 1161c261ac
1 changed files with 11 additions and 11 deletions

View File

@ -4,29 +4,29 @@ import org.broadinstitute.sting.gatk.walkers.AlleleFrequencyWalker;
public class AlleleFrequencyEstimate {
//AlleleFrequencyEstimate();
char ref;
char alt;
int N;
double qhat;
double qstar;
double logOddsVarRef;
public char ref;
public char alt;
public int N;
public double qhat;
public double qstar;
public double LOD;
public double getQstar() {
return qstar;
}
public double getLogOddsVarRef() {
return logOddsVarRef;
public double getLOD() {
return LOD;
}
public AlleleFrequencyEstimate(char ref, char alt, int N, double qhat, double qstar, double logOddsVarRef) {
public AlleleFrequencyEstimate(char ref, char alt, int N, double qhat, double qstar, double LOD) {
this.ref = ref;
this.alt = alt;
this.N = N;
this.qhat = qhat;
this.qstar = qstar;
this.logOddsVarRef = logOddsVarRef;
this.LOD = LOD;
}
public String asString() {
@ -39,4 +39,4 @@ public class AlleleFrequencyEstimate {
long numRefBases = N - numNonrefBases;
return AlleleFrequencyWalker.repeat(ref, numRefBases) + AlleleFrequencyWalker.repeat(alt, numNonrefBases);
}
}
}