Closed fgualdr closed 2 years ago
I'm correcting myself. Code is correct with the &. I am getting an issue when running create.hic.table with mapply and I want to add the exclude.regions. Even though is a data.frame I keep getting the error: "Enter a data.frame or GenomicRanges object for exclude.regions" I don't understand why
Can you provide R objects (save(list = c(...))
) and the code that uses them and causes an error?
A simple workaround would be to analyze the data with all regions, and exclude regions from the final results. But please, provide more details, we need to debug it.
CC'ing @jstansfield0 in case he may have some suggestions.
Closing due to inactivity.
In create.hic.table the code should check if is a data.frame OR a Grange and not an AND e.g. if (!is(exclude.regions, "data.frame") & !is(exclude.regions, "GenomicRanges")) vs if (!is(exclude.regions, "data.frame") | !is(exclude.regions, "GenomicRanges"))