|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttrans.main.WindowBlockMakerTwoColor
Converts a Window[] into a heat map specific bar file for import into IGB. Assumes windows are sorted by chromosome and start position Score index is the index to use when fetching a score for a window from it's double[] of scores see ScanChip or ScanChromosomes for current score indexes. Note, this will place at the 0 and 1 base two values to maintain symetry in the values.
Constructor Summary | |
WindowBlockMakerTwoColor(int sizeOfOligo,
java.lang.String genomeVersion,
double minWindowFilter,
double maxWindowFilter)
|
|
WindowBlockMakerTwoColor(java.lang.String[] args)
|
Method Summary | |
void |
add(int base,
float value)
Adds a gr line to the global ArrayLists for later burning to bar. |
void |
addHeatMapBlocks(int startIndex,
int stopIndex)
Make a heatmap blocks from given window indexes, stop not included. |
void |
assembleHeatMapBlocks()
|
void |
balanceValues()
|
Window[] |
filterWindows(Window[] windows)
Tosses any windows within the min max filter range. |
double |
getMaxWindowFilter()
|
double |
getMinWindowFilter()
|
static void |
main(java.lang.String[] args)
|
void |
makeHeatMapBarFiles(Window[] windows)
Makes a stair step heat map from an array of windows in bar format. |
void |
makeHeatMapBarFiles(Window[] windows,
java.io.File barDirectory,
int scoreIndex)
|
boolean |
overlapOrAbut(Window left,
Window right)
Assumes right window is to right of left or abuts or doesn't overlap. |
static void |
printDocs()
|
void |
printSgrLines()
|
void |
processArgs(java.lang.String[] args)
This method will process each argument and assign new varibles |
void |
setBarDirectory(java.io.File barDirectory)
|
void |
setMaxWindowFilter(double maxWindowFilter)
|
void |
setMinWindowFilter(double minWindowFilter)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WindowBlockMakerTwoColor(int sizeOfOligo, java.lang.String genomeVersion, double minWindowFilter, double maxWindowFilter)
public WindowBlockMakerTwoColor(java.lang.String[] args)
Method Detail |
public void makeHeatMapBarFiles(Window[] windows, java.io.File barDirectory, int scoreIndex)
public Window[] filterWindows(Window[] windows)
public void makeHeatMapBarFiles(Window[] windows)
public void balanceValues()
public void printSgrLines()
public void assembleHeatMapBlocks()
public void addHeatMapBlocks(int startIndex, int stopIndex)
public void add(int base, float value)
public static void main(java.lang.String[] args)
public boolean overlapOrAbut(Window left, Window right)
public void processArgs(java.lang.String[] args)
public static void printDocs()
public void setBarDirectory(java.io.File barDirectory)
public double getMaxWindowFilter()
public void setMaxWindowFilter(double maxWindowFilter)
public double getMinWindowFilter()
public void setMinWindowFilter(double minWindowFilter)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |