trans.misc
Class GrGraph

java.lang.Object
  extended bytrans.misc.GrGraph

public class GrGraph
extends java.lang.Object

Container for holding info related to a xxx.gr file.


Constructor Summary
GrGraph(java.lang.String chromosome, java.lang.String genomeVersion, int[] basePositions, float[] values)
           
 
Method Summary
 int[] getBasePositions()
           
 java.lang.String getChromosome()
           
 java.lang.String getGenomeVersion()
           
 float[] getValues()
           
 void setBasePositions(int[] basePositions)
           
 void setChromosome(java.lang.String chromosome)
           
 void setGenomeVersion(java.lang.String genomeVersion)
           
 void setValues(float[] values)
           
 boolean writeGrFile(java.io.File name)
          Writes to the file base tab value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrGraph

public GrGraph(java.lang.String chromosome,
               java.lang.String genomeVersion,
               int[] basePositions,
               float[] values)
Method Detail

writeGrFile

public boolean writeGrFile(java.io.File name)
Writes to the file base tab value. It's strongly recommended to use the chromosome and genomeVersion in the file name!


getBasePositions

public int[] getBasePositions()

setBasePositions

public void setBasePositions(int[] basePositions)

getChromosome

public java.lang.String getChromosome()

setChromosome

public void setChromosome(java.lang.String chromosome)

getGenomeVersion

public java.lang.String getGenomeVersion()

setGenomeVersion

public void setGenomeVersion(java.lang.String genomeVersion)

getValues

public float[] getValues()

setValues

public void setValues(float[] values)