org.utgenome.graphics
Class GenomeWindow
java.lang.Object
org.utgenome.graphics.GenomeWindow
public class GenomeWindow
- extends Object
Constructor Summary |
GenomeWindow(long startIndexOnGenome,
long endIndexOnGenome)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startIndexOnGenome
public final long startIndexOnGenome
endIndexOnGenome
public final long endIndexOnGenome
GenomeWindow
public GenomeWindow(long startIndexOnGenome,
long endIndexOnGenome)
toGenomeLength
public int toGenomeLength(int pixelLength,
int windowWidth)
pixelPositionOnWindow
public int pixelPositionOnWindow(long indexOnGenome,
int windowWidth)
calcGenomePosition
public int calcGenomePosition(int xOnWindow,
int windowWidth)
width
public static long width(long x1,
long x2)
getXPosOnWindow
public int getXPosOnWindow(long indexOnGenome,
int canvasWidth)
getGenomeRange
public long getGenomeRange()
getReverse
public boolean getReverse()
hasOverlap
public boolean hasOverlap(long startOnGenome,
long endOnGenome)
Copyright © 2007-2012 utgenome.org. All Rights Reserved.