Closed Ziwei-Liu closed 6 months ago
Hi there!
Are these functions everything you have called? If so, this error is most likely popping up because you have not initialized a page with pageCreate
. Even if you have created a page but restarted your R session, grid
will no longer have access to the page structure and won't be able to find any plotgardener
pages to actually place your plots on. I apologize that it came back with a confusing error message, and I'll work on catching this and showing a more direct message.
Please let me know if calling a new pageCreate
before your code does not solve the issue, or if you continue to have the problem with other plotting functions!
Hi there!
Are these functions everything you have called? If so, this error is most likely popping up because you have not initialized a page with
pageCreate
. Even if you have created a page but restarted your R session,grid
will no longer have access to the page structure and won't be able to find anyplotgardener
pages to actually place your plots on. I apologize that it came back with a confusing error message, and I'll work on catching this and showing a more direct message.Please let me know if calling a new
pageCreate
before your code does not solve the issue, or if you continue to have the problem with other plotting functions!
Yes, pageCreate
works. I can draw a regular picture now. Thank you!
My command works when not specifying x- or y- location:
plotHicTriangle(data = "lvan.allValidPairs.hic", resolution = 10000, chrom = "LG14",chromstart = 9000000, chromend = 10000000)
But when I want to specify location and add annotation on it, it reports bug:
Same bug reported when using annoGenomeLabel and annoHeatmapLegend:
I wonder if i missed assembly option, but it didn't work with it too:
By the way, my_assembly is my home made own assembly by makeTxDbFromGFF using my own gff file and my own made BSgenome using my own fasta and .2bit file. Though I think it is not responsible for the bug.