org.broad.igv.tdf
Class TDFBedTile
java.lang.Object
org.broad.igv.tdf.TDFBedTile
- All Implemented Interfaces:
- TDFTile
public class TDFBedTile
- extends java.lang.Object
- implements TDFTile
- Author:
- jrobinso
Constructor Summary |
TDFBedTile(java.nio.ByteBuffer byteBuffer,
int nSamples,
TDFTile.Type type)
|
TDFBedTile(int tileStart,
int[] start,
int[] end,
float[][] data)
|
TDFBedTile(int tileStart,
int[] start,
int[] end,
float[][] data,
java.lang.String[] name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TDFBedTile
public TDFBedTile(java.nio.ByteBuffer byteBuffer,
int nSamples,
TDFTile.Type type)
throws java.io.IOException
- Throws:
java.io.IOException
TDFBedTile
public TDFBedTile(int tileStart,
int[] start,
int[] end,
float[][] data)
TDFBedTile
public TDFBedTile(int tileStart,
int[] start,
int[] end,
float[][] data,
java.lang.String[] name)
getSize
public int getSize()
- Specified by:
getSize
in interface TDFTile
getTileStart
public int getTileStart()
- Specified by:
getTileStart
in interface TDFTile
getTileEnd
public int getTileEnd()
getStartPosition
public int getStartPosition(int idx)
- Specified by:
getStartPosition
in interface TDFTile
getEndPosition
public int getEndPosition(int idx)
- Specified by:
getEndPosition
in interface TDFTile
getName
public java.lang.String getName(int idx)
- Specified by:
getName
in interface TDFTile
getValue
public float getValue(int row,
int idx)
- Specified by:
getValue
in interface TDFTile
writeTo
public void writeTo(BufferedByteWriter fos)
throws java.io.IOException
- Specified by:
writeTo
in interface TDFTile
- Throws:
java.io.IOException
noValues
public int noValues()
- Description copied from interface:
TDFTile
- Returns the number of values that are available for each position in
this Tile.
- Specified by:
noValues
in interface TDFTile
- Returns:
Copyright © 2007-2011 - Thomas Abeel - All Rights Reserved.