Skip to content

Error in insulation_score() #362

@gxygogogo

Description

@gxygogogo

Error in vecseq(f__, len__, if (allow.cartesian || notjoin || !anyDuplicated(f__, :
Join results in 772081250 rows; more than 46324875 = nrow(x)+nrow(i). Check for duplicate key values in i each of which join to the same group in x over and over again. If that's ok, try by=.EACHI to run j for each group to avoid the large allocation. If you are sure you wish to proceed, rerun with allow.cartesian=TRUE. Otherwise, please search for this error message in the FAQ, Wiki, Stack Overflow and data.table issue tracker for advice.

I meet the problem above when I run the function insulation_score()

H1 = load_contacts(signal_path = 'H1.cool')
H1_insulation = insulation_score(H1, window = 25)
r$> H1
A GENOVA contacts object named 'H1.cool' at a resolution of 5 kb.
Contains the following slots:

  • MAT : Triplet format matrix containing 222128249 informative bins.
  • IDX : 617665 genomic indices in BED format.
  • CHRS : A vector of 24 chromosome names.
  • CENTROMERES: Locations of 24 centromeres.
    This object is assigned the colour 'black'
    0 bins are masked.
    No chromosomes have been removed.
    The data have not been Z-score normalised.
    The original data were loaded in as balanced data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions