Open YiweiNiu opened 2 years ago
Hi there,
Thanks for reporting this, indeed it doesn't work as intended.
For a workaround, you can explicitly set the figure panel where the domainogram is drawn as follows:
library(GENOVA)
exp <- get_test_data("40k")
id <- insulation_domainogram(
exp, "chr22:21e6:31e6"
)
hic_matrixplot(exp, chrom = "chr22:21e6:31e6", rasterise = TRUE)
#> No cut.off was given: using 99% percentile: 1126.
par(mfg = c(1,2))
plot(id, minimalist = TRUE)
Created on 2021-12-30 by the reprex package (v2.0.1)
Thank you for your quick reply.
This line par(mfg = c(1, 2))
induced another error:
Error in par(mfg = c(1, 2)) : parameter "j" in "mfg" is out of range
I guess there were other settings in par
?
Hi,
The example from tutorial of GENOVA (page 32) could not be reproduced.
The above code could not produce a plot which combing
hic_matrixplot
andinsulation_domainogram
.Bests, Yiwei