public static class SequenceViewerExtension.StatisticsSection extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
POSITION_AMINO_ACID_TRANSLATION_FREQUENCIES
The value that amino acid translation frequencies returns from
getVerticalPosition() |
static double |
POSITION_CODON_FREQUENCIES
The value that codon frequencies returns from
getVerticalPosition() |
static double |
POSITION_COVERAGE
The value that the read length distributions returns from
getVerticalPosition() |
static double |
POSITION_EXPECTED_ERRORS
The value that the expected errors returns from
getVerticalPosition() |
static double |
POSITION_FREQUENCIES
The value that the frequencies of nucleotides or amino acids in the sequence returns from
getVerticalPosition() |
static double |
POSITION_IDENTICAL_SITES
The value that the number of identical sites returns from
getVerticalPosition() |
static double |
POSITION_MEAN_CONFIDENCE
The value that the mean confidence returns from
getVerticalPosition() |
static double |
POSITION_NUMBER_OF_SEQUENCES
The value that the number of sequences returns from
getVerticalPosition() |
static double |
POSITION_PERCENTAGE_PAIRWISE_IDENTITY
The value that the percentage pairwise identity returns from
getVerticalPosition() |
static double |
POSITION_PROTEIN_EXTINCTION_COEFFICIENT
The value that the protein molecular weight returns from
getVerticalPosition() |
static double |
POSITION_PROTEIN_ISOELECTRIC_POINT
The value that the protein molecular weight returns from
getVerticalPosition() |
static double |
POSITION_PROTEIN_MOLECULAR_WEIGHT
The value that the protein molecular weight returns from
getVerticalPosition() |
static double |
POSITION_QUALITY_THRESHOLD_COUNTS
The value that the quality threshold counts (e.g.
|
static double |
POSITION_READ_LENGTHS
The value that the read length distributions returns from
getVerticalPosition() |
static double |
POSITION_SEQUENCE_LENGTH
The value that the sequence length returns from
getVerticalPosition() |
static double |
RELATIVE_POSITION_BELOW
Added to the position of a statistic to position it below the other statistic.
|
static double |
RELATIVE_POSITION_DIRECTLY_BELOW
Added to the position of a statistic to position it directly below the other statistic.
|
| Constructor and Description |
|---|
SequenceViewerExtension.StatisticsSection(String name,
Number numericValue,
String nicelyFormattedNameAndValue,
double verticalPosition)
Creates a new statistics section
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
getNicelyFormattedNameAndValue() |
Number |
getNumericValue() |
double |
getVerticalPosition() |
public static final double POSITION_SEQUENCE_LENGTH
getVerticalPosition()public static final double POSITION_NUMBER_OF_SEQUENCES
getVerticalPosition()public static final double POSITION_IDENTICAL_SITES
getVerticalPosition()public static final double POSITION_PERCENTAGE_PAIRWISE_IDENTITY
getVerticalPosition()public static final double POSITION_COVERAGE
getVerticalPosition()public static final double POSITION_READ_LENGTHS
getVerticalPosition()public static final double POSITION_PROTEIN_MOLECULAR_WEIGHT
getVerticalPosition()public static final double POSITION_PROTEIN_ISOELECTRIC_POINT
getVerticalPosition()public static final double POSITION_PROTEIN_EXTINCTION_COEFFICIENT
getVerticalPosition()public static final double POSITION_MEAN_CONFIDENCE
getVerticalPosition()public static final double POSITION_EXPECTED_ERRORS
getVerticalPosition()public static final double POSITION_QUALITY_THRESHOLD_COUNTS
getVerticalPosition()public static final double POSITION_FREQUENCIES
getVerticalPosition()public static final double POSITION_AMINO_ACID_TRANSLATION_FREQUENCIES
getVerticalPosition()public static final double POSITION_CODON_FREQUENCIES
getVerticalPosition()public static final double RELATIVE_POSITION_DIRECTLY_BELOW
#StatisticsSection(String, Number, String, double) for more details.RELATIVE_POSITION_BELOW,
#StatisticsSection(String, Number, String, double),
Constant Field Valuespublic static final double RELATIVE_POSITION_BELOW
#StatisticsSection(String, Number, String, double) for more details.RELATIVE_POSITION_DIRECTLY_BELOW,
#StatisticsSection(String, Number, String, double),
Constant Field Valuespublic SequenceViewerExtension.StatisticsSection(String name, Number numericValue, String nicelyFormattedNameAndValue, double verticalPosition)
name - the name of this statistic used for programmatic purposes only to distinguish it from other sections returned by this same plugin. May be an empty String if this plugin returns only a single section.numericValue - a numeric value for this statistic for use with other plugins that may wish to obtain the value. May be null for statistics that have no numeric value.nicelyFormattedNameAndValue - the text displayed in the sequence viewer statistics.verticalPosition - a vertical position for this text between 0 and 1. For example POSITION_SEQUENCE_LENGTH+RELATIVE_POSITION_BELOW
could be used to position it below the sequence length section. Use 1.0 to position it below all other statistics.
Generally you should add RELATIVE_POSITION_DIRECTLY_BELOW to some existing section position if it is closely
associated with it. If you just want to position it below another statistic which it isn't closely associated with, add
RELATIVE_POSITION_BELOW and prefix nicelyFormattedNameAndValue with a newline character (\n) to separate your statistic into its own section.POSITION_SEQUENCE_LENGTH,
POSITION_FREQUENCIES,
POSITION_AMINO_ACID_TRANSLATION_FREQUENCIES,
POSITION_CODON_FREQUENCIESpublic String getNicelyFormattedNameAndValue()
public Number getNumericValue()
public String getName()
public double getVerticalPosition()
#StatisticsSection(String, Number, String, double) for details