|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.cas.painting.WholeChromPaint
public class WholeChromPaint
A whole chromosome Paint. This class can be used to simulate any whole chromosome painting scheme (such mFISH, FISH, 2-FISH, any mapping from the set of chromosomes to a set of colors). Also includes functionality for counterstaining and centromere probes. Defaults are no counterstain and centromere probes.
Constructor Summary | |
---|---|
WholeChromPaint(boolean track_centromeres,
boolean counterstain,
java.lang.String counterstain_label)
creates a whole chromosome paint. |
Method Summary | |
---|---|
Fragment |
agglomerate(Fragment first,
Fragment second)
Determines whether the two fragments span a cryptic break. |
boolean |
appearsWhole(FPChrom fpchrom)
Returns true if the final pattern chromosome appears whole. |
boolean |
counterstain()
returns true if the paint uses a counterstain |
boolean |
hasCentromere(long source,
long target,
long centromere)
returns true if source and target are on opposite sides of centromere. |
boolean |
isCounterstained(Fragment frag)
Returns true if the fragment is counterstained. |
boolean |
isOriented()
returns true if the Painting scheme is oriented. |
Fragment |
paint(AbEdge chrom_edge)
returns the same result as paint(chrom_edge.getSource(), chrom_edge.getTarget()) |
Fragment |
paint(AbVertex source,
AbVertex target)
returns the fragment associated to the chromatin edge that would span the source and target vertices. |
java.lang.String |
setPaint(Chromosome c,
java.lang.String label)
creates a whole chromosome paint with centromere probes and no counterstain. |
boolean |
trackCentromeres()
returns true if the Paint records centromeres |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WholeChromPaint(boolean track_centromeres, boolean counterstain, java.lang.String counterstain_label)
track_centromeres
- keep track of centromerescounterstain
- counterstain unpainted chromosomes.counterstain_label
- what ``paint'' to apply to counterstained chromosomes.Method Detail |
---|
public java.lang.String setPaint(Chromosome c, java.lang.String label)
c
- chromosomelabel
- label for that chromosome
public boolean isOriented()
Paint
isOriented
in interface Paint
public boolean counterstain()
Paint
counterstain
in interface Paint
public boolean trackCentromeres()
Paint
trackCentromeres
in interface Paint
public Fragment paint(AbEdge chrom_edge)
Paint
paint
in interface Paint
chrom_edge
- chromatin edge
public Fragment paint(AbVertex source, AbVertex target)
paint
in interface Paint
source
- source vertextarget
- target vertex
public Fragment agglomerate(Fragment first, Fragment second)
agglomerate
in interface Paint
first
- first fragmentsecond
- second fragment
public boolean appearsWhole(FPChrom fpchrom)
appearsWhole
in interface Paint
fpchrom
- final pattern chromosome
public boolean isCounterstained(Fragment frag)
isCounterstained
in interface Paint
frag
- fragment
public boolean hasCentromere(long source, long target, long centromere)
source
- target
- centromere
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |