Hello,
I tried to run FLAMINGO on mcool data with the following code
library(FLAMINGOr)
library(GenomicFeatures)
library(Matrix)
all_size <- getChromInfoFromUCSC("hg38")
chr_name = '1'
chr_name = as.numeric(chr_name)
chr_size = all_size[chr_name,2]
chr_name <- paste0('chr',chr_name)
res = flamingo.main_func_large(
hic_data_low='4DNFI3PNAYBK.mcool',
file_format='mcool',
domain_res=1e6,
frag_res=5e3,
chr_size=chr_size,
chr_name=chr_name,
normalization='KR',
downsampling_rates=0.75,
lambda=10,
max_dist=0.01,
nThread=8
)
I only changed the hic_data_low an the file_format according to the README file but I always encounter error as follows:
Error in Matrix::sparseMatrix(i = csr_rawcount[, 1], j = csr_rawcount[, :
'dims' must contain all (i,j) pairs
What might be the cause?
Hello,
I tried to run FLAMINGO on mcool data with the following code
I only changed the
hic_data_lowan thefile_formataccording to theREADMEfile but I always encounter error as follows:What might be the cause?