Heimdall.tailor.ChromosomeBlockTailor

Heimdall.tailor.ChromosomeBlockTailor#

class Heimdall.tailor.ChromosomeBlockTailor(fc)[source]#

Bases: Tailor

Chromosome grouping without any resampling. - Groups genes into blocks per chromosome with open/close tokens. - Within each chromosome, genes are ordered according to gene_order. - Uses Tailor.limit (default truncation) and Tailor.pad.

Methods

limit(identity_inputs, expression_inputs, ...)

Limit tokenization that exceeds the desired input length.

pad(identity_inputs, expression_inputs, ...)

Pad tokenization that is smaller than desired input length.

Parameters:

fc (Fc)