public class SNP extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
nrCalled |
| Constructor and Description |
|---|
SNP() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearGenotypes() |
byte[] |
getAllele1() |
byte[] |
getAllele2() |
double[] |
getAlleleFreq() |
byte |
getAlleleItr() |
byte[] |
getAlleles() |
byte |
getChr() |
int |
getChrPos() |
double |
getCR() |
double |
getDosageMAF() |
double[] |
getDosageValues() |
int[] |
getGenotypeFreq() |
byte[] |
getGenotypes() |
double |
getHWEP() |
int |
getId() |
double |
getMAF() |
byte |
getMinorAllele() |
String |
getName() |
int |
getNrCalled() |
boolean |
hasDosageInformation() |
boolean |
passesQC() |
double[] |
selectGenotypes(int[] ids) |
double[] |
selectGenotypes(int[] phenotypeToGenotypeId,
boolean includeMissingGenotypes,
boolean loadDosageWhenAvailable) |
double[] |
selectGenotypes(short[] phenotypeToGenotypeId,
boolean includeMissingGenotypes,
boolean loadDosageWhenAvailable) |
void |
setAlleleCodes(byte[] alleles) |
void |
setAlleles(byte[] allele1,
byte[] allele2) |
void |
setAlleles(byte[] allele1,
byte[] allele2,
Boolean[] indIncluded,
Boolean[] indIsFemale) |
void |
setChr(byte chr) |
void |
setChrPos(int chrPos) |
void |
setCR(Double CR) |
void |
setDosage(byte[] dosageValues) |
void |
setGenotypeFreq(int[] genotypeFreq) |
void |
setHWEP(Double HWEP) |
void |
setId(int snpId) |
void |
setMAF(Double MAF) |
void |
setMinorAllele(byte minorAllele) |
void |
setName(String snp) |
void |
setNrCalled(int nrCalled) |
void |
setPassesQC(boolean b) |
public byte getAlleleItr()
public void setChr(byte chr)
public void setChrPos(int chrPos)
public byte getChr()
public int getChrPos()
public void setId(int snpId)
public int getId()
public void setName(String snp)
public String getName()
public void setAlleles(byte[] allele1,
byte[] allele2,
Boolean[] indIncluded,
Boolean[] indIsFemale)
public void setPassesQC(boolean b)
public boolean passesQC()
public double getHWEP()
public void setHWEP(Double HWEP)
HWEP - the HWEP to setpublic double getMAF()
public double getDosageMAF()
public void setMAF(Double MAF)
MAF - the MAF to setpublic double getCR()
public void setCR(Double CR)
CR - the CR to setpublic void setAlleles(byte[] allele1,
byte[] allele2)
public void clearGenotypes()
public byte[] getAllele1()
public byte[] getAllele2()
public byte[] getGenotypes()
public void setDosage(byte[] dosageValues)
public double[] getDosageValues()
public boolean hasDosageInformation()
public double[] selectGenotypes(int[] ids)
public double[] selectGenotypes(short[] phenotypeToGenotypeId,
boolean includeMissingGenotypes,
boolean loadDosageWhenAvailable)
public double[] selectGenotypes(int[] phenotypeToGenotypeId,
boolean includeMissingGenotypes,
boolean loadDosageWhenAvailable)
public byte[] getAlleles()
public void setAlleleCodes(byte[] alleles)
public byte getMinorAllele()
public double[] getAlleleFreq()
public int[] getGenotypeFreq()
public void setGenotypeFreq(int[] genotypeFreq)
genotypeFreq - the genotypeFreq to setpublic void setMinorAllele(byte minorAllele)
public void setNrCalled(int nrCalled)
public int getNrCalled()
Copyright © 2015. All Rights Reserved.