Constructor | Description |
---|---|
DepthMapper() |
Modifier and Type | Method | Description |
---|---|---|
int[][][] |
get2DArray(int dim) |
Get a 2d array of the returned type
|
int[][] |
getArray(int dim) |
Get an array of the returned type
|
int[] |
map(java.lang.String s) |
Maps from string representing read depths to an integer array of read depths
|
public int[] map(java.lang.String s) throws VCFUnexpectedDataException
map
in interface Mapper<int[]>
s
- The stringVCFUnexpectedDataException
- If there is unexpected
data in the VCFpublic int[][] getArray(int dim)
Mapper
public int[][][] get2DArray(int dim)
Mapper
get2DArray
in interface Mapper<int[]>
dim
- Size of the major dimension