Import Tensor-FLAMINGO output to a GRangesList Object

importTensorFLAMINGO(filenames, binsize, chr)

Arguments

filenames

Vector of character. The file names of output of Tensor-FLAMINGO.

binsize

Bin size of the interaction. It will be the width of GRanges.

chr

Chromosome name

Value

An object of GRangesList

Examples

cells <- 1:3
gm12878 <- paste0('https://github.com/wangjr03/Tensor-FLAMINGO/raw/refs/',
               'heads/main/predictions/10kb/GM12878_Dip-C/FLAMINGO_Cell_',
                cells, '.txt')
names(gm12878) <- cells
gm12878.gl <- importTensorFLAMINGO(gm12878, binsize=10000, chr='chr21')