public final class DefaultSequenceGraphFactories extends Object
SequenceGraphFactory
and SequenceGraph classes.| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultSequenceGraphFactories.SequenceAlignmentScorer
Provides methods to supply a score for a given set of sequence residues and provide
a color for a given score.
|
static class |
DefaultSequenceGraphFactories.SingleSequenceScorer
Provides methods to supply a score for a given sequence residue and provide a color for a given score.
|
| Modifier and Type | Method and Description |
|---|---|
static SequenceGraphFactory |
createSequenceAlignmentGraphFactory(String name,
String description,
boolean defaultVisibility,
int defaultHeight,
SequenceDocument.Alphabet alphabet,
DefaultSequenceGraphFactories.SequenceAlignmentScorer multipleSequenceScorer,
boolean lineGraph)
Create a SequenceGraphFactory for sequence alignments.
|
static SequenceGraphFactory |
createSequenceAlignmentGraphFactory(String name,
String description,
boolean defaultVisibility,
int defaultHeight,
SequenceDocument.Alphabet alphabet,
DefaultSequenceGraphFactories.SingleSequenceScorer singleSequenceScorer,
boolean lineGraph)
Create a SequenceGraphFactory that is averaged over multiple sequences from a single sequence scorer.
|
static SequenceGraphFactory |
createSingleSequenceGraphFactory(String name,
String description,
boolean defaultVisibility,
int defaultHeight,
SequenceDocument.Alphabet alphabet,
DefaultSequenceGraphFactories.SingleSequenceScorer singleSequenceScorer,
boolean lineGraph)
Create a SequenceGraphFactory for a single sequence where graph points
depend only on the residue at that point.
|
public static SequenceGraphFactory createSingleSequenceGraphFactory(String name, String description, boolean defaultVisibility, int defaultHeight, SequenceDocument.Alphabet alphabet, DefaultSequenceGraphFactories.SingleSequenceScorer singleSequenceScorer, boolean lineGraph)
name - name displayed next to graphs generated by this factorydescription - a more verbose description displayed as a tool tip or null to provide no descriptiondefaultVisibility - the default visibility for this graph.defaultHeight - the default height for this graph, which the user can override.alphabet - the alphabet of the graph (either protein or nucleotide)singleSequenceScorer - a scorer to calculate the score and Color based on a residue.lineGraph - true if this should be a line graph rather than a bar graphpublic static SequenceGraphFactory createSequenceAlignmentGraphFactory(String name, String description, boolean defaultVisibility, int defaultHeight, SequenceDocument.Alphabet alphabet, DefaultSequenceGraphFactories.SingleSequenceScorer singleSequenceScorer, boolean lineGraph)
name - name displayed next to graphs generated by this factorydescription - a more verbose description displayed as a tool tip or null to provide no descriptiondefaultVisibility - the default visibility for this graph.defaultHeight - the default height for this graph, which the user can override.alphabet - the alphabet of the graph (either protein or nucleotide)singleSequenceScorer - a scorer to calculate the score and Color based on a residue.lineGraph - true if this should be a line graph rather than a bar graphpublic static SequenceGraphFactory createSequenceAlignmentGraphFactory(String name, String description, boolean defaultVisibility, int defaultHeight, SequenceDocument.Alphabet alphabet, DefaultSequenceGraphFactories.SequenceAlignmentScorer multipleSequenceScorer, boolean lineGraph)
name - name displayed next to graphs generated by this factorydescription - a more verbose description displayed as a tool tip or null to provide no descriptiondefaultVisibility - the default visibility for this graph.defaultHeight - the default height for this graph, which the user can override.alphabet - the alphabet of the graph (either protein or nucleotide)multipleSequenceScorer - a scorer to calculate the score and Color based on a set of residues.lineGraph - true if this should be a line graph rather than a bar graph