org.utgenome.gwt.utgb.client.bio
Class CompactWIGData

java.lang.Object
  extended by org.utgenome.gwt.utgb.client.bio.CompactWIGData
All Implemented Interfaces:
Serializable, GenomeRange, GraphData

public class CompactWIGData
extends Object
implements GraphData

See Also:
Serialized Form

Constructor Summary
CompactWIGData()
           
 
Method Summary
 void accept(GenomeRangeVisitor visitor)
           
 ArrayList<String> getBrowser()
           
 float[] getData()
           
 int getEnd()
          return 1-based end position of the data.
 float getMaxValue()
           
 float getMinValue()
           
 String getName()
           
 int getPixelSize()
           
 int getSpan()
           
 int getStart()
          return 1-based start position of the data.
 int getTrack_id()
           
 HashMap<String,String> getTrack()
           
 boolean isAntiSense()
           
 boolean isSense()
           
 int length()
          return the length of the data
 void setBrowser(ArrayList<String> browser)
           
 void setData(float[] data)
           
 void setMaxValue(float maxValue)
           
 void setMinValue(float minValue)
           
 void setSpan(int span)
           
 void setStart(int start)
           
 void setTrack_id(int track_id)
           
 void setTrack(HashMap<String,String> track)
           
 ReadCoverage toReadCoverage(ChrLoc loc)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompactWIGData

public CompactWIGData()
Method Detail

toReadCoverage

public ReadCoverage toReadCoverage(ChrLoc loc)

getPixelSize

public int getPixelSize()

setSpan

public void setSpan(int span)

getSpan

public int getSpan()

setStart

public void setStart(int start)

getStart

public int getStart()
Description copied from interface: GenomeRange
return 1-based start position of the data. The interval represents [start, end). ([inclusive, exclusive))

Specified by:
getStart in interface GenomeRange
Returns:

getTrack_id

public int getTrack_id()

setTrack_id

public void setTrack_id(int track_id)

getMinValue

public float getMinValue()

setMinValue

public void setMinValue(float minValue)

getMaxValue

public float getMaxValue()

setMaxValue

public void setMaxValue(float maxValue)

getBrowser

public ArrayList<String> getBrowser()

setBrowser

public void setBrowser(ArrayList<String> browser)

getTrack

public HashMap<String,String> getTrack()

setTrack

public void setTrack(HashMap<String,String> track)

getData

public float[] getData()

setData

public void setData(float[] data)

toString

public String toString()
Overrides:
toString in class Object

accept

public void accept(GenomeRangeVisitor visitor)
Specified by:
accept in interface GenomeRange

getEnd

public int getEnd()
Description copied from interface: GenomeRange
return 1-based end position of the data. The interval represents [start, end). ([inclusive, exclusive))

Specified by:
getEnd in interface GenomeRange
Returns:

getName

public String getName()
Specified by:
getName in interface GenomeRange

length

public int length()
Description copied from interface: GenomeRange
return the length of the data

Specified by:
length in interface GenomeRange
Returns:

isSense

public boolean isSense()
Specified by:
isSense in interface GenomeRange

isAntiSense

public boolean isAntiSense()
Specified by:
isAntiSense in interface GenomeRange


Copyright © 2007-2012 utgenome.org. All Rights Reserved.