Skip to content

Demo run has an error #9

@Wan9299

Description

@Wan9299

Dear Author,
when I use The CALDER to run the demo data, i could not get a successful result:

library(CALDER)

contact_mat_file <- system.file("extdata", "mat_chr22_10kb_ob.txt.gz", package='CALDER')

CALDER_main(contact_mat_file, 
            chr=22, 
            bin_size=10E3, 
            out_dir='./GM12878', 
            sub_domains=TRUE, 
            save_intermediate_data=FALSE
            )
>>>> Begin process contact matrix and compute correlation score at: 2023-11-23 19:13:07.592163 
 >>>> Begin compute compartment domains and their hierachy at: 2023-11-23 19:14:15.745756Error in i_set_vertex_attr(x, attr(value, "name"), index = value, value = attr(value,  : 
  Length of new attribute value must be 1 or 0, the number of target vertices, not 2
Error in rep(hc_k_labels_full, sapply(res$initial_clusters, length)) : 
  'times'参数不对

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions