HiCExplorer
HiCExplorer copied to clipboard
Issue converting GInteractions object into InteractionSet
In the documentation, under Example Usage, is the page "Importing and Exporting HiCExplorer data".
I was able to follow the example up until the step of converting the .tsv file into a GInteraction object. However, the next part of the example usage returns NULL for the variable "combined" that is created:
# assuming hic.gi is a list of two GInteration objects hic.gi1 and hic.gi2
# hic.gi <- list(hic.gi1, hic.gi2)
# Get common regions between the two objects
combined <- unique(c(hic.gi$hic.gi1, hic.gi$hic.gi2))
This is likely because for me, hic.gi is NOT a list of two GInteraction objects. Given this issue, how would I convert hic.gi into an InteractionSet object for differential HiC analysis?
Thank you