public class AlleleDepthUtil extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
DEPTH_BYTE_MISSING |
static int |
DEPTH_MISSING |
Modifier and Type | Method and Description |
---|---|
static byte |
addByteDepths(byte depth1,
byte depth2)
Returns the depth combined depths in byte format.
|
static int |
depthByteToInt(byte depth)
Converts byte depth to integer version.
|
static int[] |
depthByteToInt(byte[] depth)
Converts byte arrays of depth to integer array version.
|
static byte |
depthIntToByte(int depth)
Converts integer depth to byte version.
|
static byte[] |
depthIntToByte(int[] depth)
Converts integer array of depth to byte array version.
|
static byte[][] |
depthIntToByte(int[][] depth)
Converts a two dimensional integer array of depths to a 2D byte array
version.
|
public static final byte DEPTH_BYTE_MISSING
public static final int DEPTH_MISSING
public static byte addByteDepths(byte depth1, byte depth2)
depth1
- first depth in byte formatdepth2
- second depth in byte formatpublic static byte depthIntToByte(int depth)
public static byte[] depthIntToByte(int[] depth)
public static byte[][] depthIntToByte(int[][] depth)
public static int depthByteToInt(byte depth)
public static int[] depthByteToInt(byte[] depth)
Copyright © 2018. All rights reserved.