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:
parent
9b5e5e06f9
commit
1161c261ac
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue