Mutable Parent
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
All descendants of this parent of type type (including its synonyms) in depth-first order, or all descendants if type is null. Iterating over the descendants while modifying the topology of the tree will produce a ConcurrentModificationException (non-topological modifications are permissible). Multiple parentage will result in duplicate values
Link copied to clipboard
abstract fun insert(seqid: String, source: String, type: String, ranges: Iterable<IntRange>, score: Double?, strand: Strand, phases: Iterable<Phase>, attributes: Map<String, Iterable<String>>? = null): MutableFeature
Inserts a feature with the specified properties as the child of this feature. If this MutableParent is not a MutableGenome, the inserted type must have a part-of relationship with this feature's type. This means that either the part-of relationship was explicitly defined by the user or exists in the Sequence Ontology.
abstract fun insert(seqid: String, source: String, type: String, range: IntRange, score: Double?, strand: Strand, phase: Phase, attributes: Map<String, Iterable<String>>? = null): MutableFeature
Alias for insert for features without discontinuous regions. Behaves analogously.
Link copied to clipboard