-
- All Implemented Interfaces:
-
kotlin.Comparable,org.jetbrains.bio.big.WigSection
public final class VariableStepSection implements WigSection
A section with gaps; variable step mean i+1-th interval is on arbitrary distance from i-th interval. Note, however, that interval width remains fixed throughout the track.
-
-
Constructor Summary
Constructors Constructor Description VariableStepSection(String chrom, Integer span, TIntList positions, TFloatList values)
-
Method Summary
Modifier and Type Method Description final Unitset(Integer pos, Float value)final Floatget(Integer pos)Sequence<ScoredInterval>query(Integer from, Integer to)Returns a intervals contained within a given semi-interval. Sequence<VariableStepSection>splice(Integer max)Splices a section into sub-section of size at most java.lang.Short.MAX_VALUE. StringtoString()Booleanequals(Object other)IntegerhashCode()final Stringcomponent1()final Integercomponent2()final VariableStepSectioncopy(String chrom, Integer span, TIntList positions, TFloatList values)IntegergetSize()IntegergetStart()IntegergetEnd()StringgetChrom()Human-readable chromosome name, e.g. IntegergetSpan()Interval width. -
-
Method Detail
-
query
Sequence<ScoredInterval> query(Integer from, Integer to)
Returns a intervals contained within a given semi-interval.
- Parameters:
from- inclusiveto- exclusive
-
splice
Sequence<VariableStepSection> splice(Integer max)
Splices a section into sub-section of size at most java.lang.Short.MAX_VALUE.
-
component1
final String component1()
-
component2
final Integer component2()
-
copy
final VariableStepSection copy(String chrom, Integer span, TIntList positions, TFloatList values)
-
-
-
-