|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.cas.painting.Painter
public class Painter
This class stores a Paint and uses the methods of the Paint interface to determine Final Patterns from aberration multigraphs. If the Paint includes a counterstain, then Painter includes methods for removing chromosomes that are entirely counterstained. Also, Painter may remove cryptic breaks from the Final Pattern and chromosomes that appear complete.
Constructor Summary | |
---|---|
Painter(Paint pnt)
Constructs a Painter object with pnt as the underlying Paint |
Method Summary | |
---|---|
boolean |
counterstained(FPChrom fpchrom)
determines whether an fpchromosome is entirely counterstained. |
FinalPattern |
crypticFinalPattern(AbGraph abgraph)
Given an AbGraph, converts the final configuration subgraph into a final pattern. |
FinalPattern |
finalPattern(AbGraph abgraph)
Returns the final pattern for the aberration multigraph with no cryptic breaks, counterstained chromosomes, or apparently unaffected chromosomes. |
FinalPattern |
finalPattern(AbGraph abgraph,
boolean removeCrypticBreaks,
boolean removeCounterstained,
boolean removeWholeChromosomes)
Returns the final pattern with flags for removing cryptic breaks, counterstained chromosomes, and apparently unaffected chromosomes. |
FPChrom |
paintComponent(AbGraph component)
returns a final pattern chromosome from a connected AbGraph component. |
boolean |
removeCounterstained(FinalPattern fp)
removes all fpchromosomes that are entirely counterstained. |
boolean |
removeCrypticBreaks(FinalPattern fp)
removes the cryptic breaks in the final pattern by testing neighboring fragments under the Paint agglomeration. |
boolean |
removeCrypticBreaks(FPChrom fpc)
removes the cryptic breaks in the final pattern chromosome by testing neighboring fragments under the Paint agglomeration. |
boolean |
removeWholeChromosomes(FinalPattern fp)
removes all fpchromosomes that are apparently whole. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Painter(Paint pnt)
pnt
- associated paintMethod Detail |
---|
public FinalPattern crypticFinalPattern(AbGraph abgraph)
abgraph
- aberration multigraph
public FinalPattern finalPattern(AbGraph abgraph, boolean removeCrypticBreaks, boolean removeCounterstained, boolean removeWholeChromosomes)
abgraph
- aberration multigraphremoveCrypticBreaks
- if true, removes all cryptic breaks from the final pattern.removeCounterstained
- if true, removes any final chromosome that is entirely counterstained.removeWholeChromosomes
- if true, removes any chromosomes that appear unaffected (note, if removeCrypticBreaks = false
and the chromosome contains a cryptic break, then even if it appears whole, it may not be removed).
public FinalPattern finalPattern(AbGraph abgraph)
aberration
- multigraph
public FPChrom paintComponent(AbGraph component)
component
-
public boolean removeCrypticBreaks(FinalPattern fp)
fp
- final pattern
public boolean removeCrypticBreaks(FPChrom fpc)
fpc
- final pattern chromsome
public boolean removeCounterstained(FinalPattern fp)
fp
- final pattern
public boolean removeWholeChromosomes(FinalPattern fp)
fp
- final pattern
public boolean counterstained(FPChrom fpchrom)
fpchrom
- final pattern chromosome
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |