| Package | Description |
|---|---|
| de.jstacs.data.sequences |
Provides classes for representing sequences.
The implementations of sequences currently include DiscreteSequences prepared for alphabets of different sizes, and ArbitrarySequences that may
contain continuous values as well.As sub-package provides the facilities to annotate Sequences. |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteSequence
This class is for sequences with the alphabet symbols encoded as
bytes and can therefore be used for discrete
AlphabetContainers with alphabets that use only few symbols. |
class |
IntSequence
This class is for sequences with the alphabet symbols encoded as
ints and can therefore be used for discrete
AlphabetContainers with alphabets that use a huge number of symbols. |
class |
MappedDiscreteSequence
This class allows to map a discrete
Sequence to an new Sequence using some DiscreteAlphabetMappings. |
class |
ShortSequence
This class is for sequences with the alphabet symbols encoded as
shortss and can therefore be used for discrete
AlphabetContainers with alphabets that use many different symbols. |
class |
SparseSequence
This class is an implementation for sequences on one alphabet with length 4.
|
| Modifier and Type | Field and Description |
|---|---|
protected SimpleDiscreteSequence |
MappedDiscreteSequence.original
The original
Sequence. |
| Modifier and Type | Method and Description |
|---|---|
static SimpleDiscreteSequence |
SimpleDiscreteSequence.shuffle(SimpleDiscreteSequence original,
int k)
This method implements the algorithm of D.
|
| Modifier and Type | Method and Description |
|---|---|
static SimpleDiscreteSequence |
SimpleDiscreteSequence.shuffle(SimpleDiscreteSequence original,
int k)
This method implements the algorithm of D.
|
| Constructor and Description |
|---|
MappedDiscreteSequence(SimpleDiscreteSequence original,
DiscreteAlphabetMapping... transformation)
This method allows to create a
MappedDiscreteSequence from a given Sequence and some given DiscreteAlphabetMappings. |
MultiDimensionalDiscreteSequence(SequenceAnnotation[] seqAn,
SimpleDiscreteSequence... sequence)
This constructor creates an
MultiDimensionalDiscreteSequence from a set of individual Sequences. |