class D4::Matrix

Defined in:

d4/matrix.cr
d4/reducers.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(tracks : Enumerable(Track)) #

[View source]

Instance Method Detail

def aggregate(regions : Enumerable(Region), reducer : D, *, workers : Int32 = 1) forall D #

[View source]
def aggregate_into(regions : Indexable(Region), reducer : D, output : Slice(R), *, workers : Int32 = 1) : Nil forall D, R #

[View source]
def column_count : Int32 #

[View source]
def each_row(region : Region, & : Row -> Nil) : Nil #

[View source]
def read_rows_into(chromosome : String, start : Int, buffer : Slice(Int32)) : Int32 #

[View source]
def scaled : ScaledMatrix #

[View source]
def scan_rows(region : Region, buffer : Slice(Int32), & : Int64, Slice(Int32), Int32 -> Nil) : Nil #

[View source]
def track_names : Array(String) #

[View source]
def tracks : Array(Track) #

[View source]