-
- All Implemented Interfaces:
-
kotlin.Comparable,org.jetbrains.bio.big.WigSection
public final class FixedStepSection implements WigSection
A section with contiguous interval. Both the distance between consecutive intervals and interval width is fixed throughout the section.
-
-
Constructor Summary
Constructors Constructor Description FixedStepSection(String chrom, Integer start, Integer step, Integer span, TFloatList values)
-
Method Summary
Modifier and Type Method Description final Unitadd(Float value)final Floatget(Integer pos)Sequence<ScoredInterval>query(Integer from, Integer to)Returns a intervals contained within a given semi-interval. Sequence<FixedStepSection>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 Integercomponent3()final Integercomponent4()final FixedStepSectioncopy(String chrom, Integer start, Integer step, Integer span, TFloatList values)IntegergetEnd()IntegergetSize()StringgetChrom()Human-readable chromosome name, e.g. IntegergetStart()Start offset of the leftmost interval in the section. final IntegergetStep()Distance between consecutive intervals. 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<FixedStepSection> 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()
-
component3
final Integer component3()
-
component4
final Integer component4()
-
copy
final FixedStepSection copy(String chrom, Integer start, Integer step, Integer span, TFloatList values)
-
-
-
-