public class WGAFileMatrixGenotype extends Object
| Constructor and Description |
|---|
WGAFileMatrixGenotype(int nrSNPs,
int nrInds,
File fileName,
boolean readOnly)
Creates a new instance of WGAFileMatrixGenotype
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
byte |
getAllele1(int snp,
int ind) |
byte |
getAllele2(int snp,
int ind) |
void |
setAllele1(int snp,
int ind,
byte value) |
void |
setAllele1(int snp,
int ind,
byte[] value) |
void |
setAllele2(int snp,
int ind,
byte value) |
void |
setAllele2(int snp,
int ind,
byte[] value) |
void |
setAlleles(int snp,
byte[] alleles1,
byte[] alleles2) |
public WGAFileMatrixGenotype(int nrSNPs,
int nrInds,
File fileName,
boolean readOnly)
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic byte getAllele1(int snp,
int ind)
throws IOException
IOExceptionpublic byte getAllele2(int snp,
int ind)
throws IOException
IOExceptionpublic void setAllele1(int snp,
int ind,
byte value)
throws IOException
IOExceptionpublic void setAllele1(int snp,
int ind,
byte[] value)
throws IOException
IOExceptionpublic void setAllele2(int snp,
int ind,
byte value)
throws IOException
IOExceptionpublic void setAllele2(int snp,
int ind,
byte[] value)
throws IOException
IOExceptionpublic void setAlleles(int snp,
byte[] alleles1,
byte[] alleles2)
throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.