HenrikBengtsson / TopDom

R package: TopDom - An efficient and Deterministic Method for identifying Topological Domains in Genomes
https://cran.r-project.org/package=TopDom
20 stars 5 forks source link

In rm(list = "idxs") : object 'idxs' not found #24

Open stubbsrl opened 1 year ago

stubbsrl commented 1 year ago

I have a multiple, similar data sets. In a few of them, one or two chromosomes (different chromosomes in each data set) I get the following error:

In rm(list = "idxs") : object 'idxs' not found

for the command TopDom(data = "my.matrix", window.size = 20 )

My guess is this has something to do with my matrix for that chromosome, e.g., there is a value the program doesn't like. My matrices are converted over from .hic files using straw and normalized. My guess is there is something that happened in the conversion/normalization. Note, the other 20ish chromosomes are fine.

If my hunch is correct, is there a way to tell TopDom just to ignore that value? If my hunch is incorrect, is there a way to fix the matrix or bypass this error?