Cut a mega contactMatrix (joint from multiple chromosomic maps) into a list of contactMatrix.
Examples
data(HiC_Ctrl.cmx_lst)
Mega_Ctrl.cmx <- JoinHiC(HiC_Ctrl.cmx_lst)
CutHiC(Mega_Ctrl.cmx)
#> $`2L_2L`
#> class: ContactMatrix
#> dim: 236 236
#> type: dgCMatrix
#> rownames: NULL
#> colnames: NULL
#> metadata(5): name type kind symmetric resolution
#> regions: 236
#>
#> $`2L_2R`
#> class: ContactMatrix
#> dim: 236 253
#> type: dgCMatrix
#> rownames: NULL
#> colnames: NULL
#> metadata(5): name type kind symmetric resolution
#> regions: 489
#>
#> $`2R_2R`
#> class: ContactMatrix
#> dim: 253 253
#> type: dgCMatrix
#> rownames: NULL
#> colnames: NULL
#> metadata(5): name type kind symmetric resolution
#> regions: 253
#>
#> attr(,"resolution")
#> [1] 1e+05
#> attr(,"mtx")
#> [1] "obs"
#> attr(,"chromSize")
#> # A tibble: 2 × 3
#> name length dimension
#> <chr> <dbl> <dbl>
#> 1 2L 23513712 236
#> 2 2R 25286936 253
#> attr(,"matricesKind")
#> # A tibble: 3 × 4
#> name type kind symmetric
#> <chr> <chr> <chr> <lgl>
#> 1 2L_2L cis U TRUE
#> 2 2L_2R trans NA FALSE
#> 3 2R_2R cis U TRUE