-
- All Implemented Interfaces:
-
kotlin.Comparable,org.jetbrains.bio.big.WigSection
public final class BedGraphSection implements WigSection
A section for variable step / variable span intervals.
Even though BedGraph is a separate format it is allowed in BigWIG data section.
-
-
Constructor Summary
Constructors Constructor Description BedGraphSection(String chrom, TIntList startOffsets, TIntList endOffsets, TFloatList values)
-
Method Summary
Modifier and Type Method Description final Unitset(Integer startOffset, Integer endOffset, Float value)final Floatget(Integer startOffset, Integer endOffset)Sequence<ScoredInterval>query(Integer from, Integer to)Returns a intervals contained within a given semi-interval. Sequence<WigSection>splice(Integer max)Splices a section into sub-section of size at most java.lang.Short.MAX_VALUE. StringtoString()final Stringcomponent1()final BedGraphSectioncopy(String chrom, TIntList startOffsets, TIntList endOffsets, TFloatList values)IntegergetSpan()IntegergetStart()IntegergetEnd()IntegergetSize()StringgetChrom()Human-readable chromosome name, e.g. -
-
Constructor Detail
-
BedGraphSection
BedGraphSection(String chrom, TIntList startOffsets, TIntList endOffsets, TFloatList values)
-
-
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<WigSection> splice(Integer max)
Splices a section into sub-section of size at most java.lang.Short.MAX_VALUE.
-
component1
final String component1()
-
copy
final BedGraphSection copy(String chrom, TIntList startOffsets, TIntList endOffsets, TFloatList values)
-
-
-
-