-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intrachromosomal triangle plots? #83
Comments
Hi Katie! You are correct, this kind of plot is not possible with the current In theory you could hack In general, we definitely need more formal intrachromosomal support, but if you think these would be helpful features I'm happy to work on them! Nicole |
haha we definitely have talked about more intrachromosomal and genome-wide features but it could definitely turn into a whole can of worms. I'm not sure what other packages exist that handle this kind of data, but if it would get more people to use pg in their talks I would love to do it 😂 I think technically plotgardener can make whole-genome Hi-C plots, but also not in a super straightforward way using multiple plots. I think @EricSDavis made one at some point? Again, it's something we've definitely talked about but haven't prioritized implementing. But yes, let me know how the manual rotation fares for you and if you need any more help! Nicole |
Found some old code in a slack channel that I used to make a genome-wide Hi-C plot! This code replicates the Juicebox genome-wide plots by using a super-special-secret resolution value of 6418. See example code below:
|
I'm sorry I never properly responded to this but WOW thank you so much Eric and Nicole!!! This was super helpful and also kind of blew my mind, never would have thought to try a super-special-secret resolution. I feel like I'm looking up old video game cheat codes on GameFAQs lol I audibly said "no waaaaay" like a huge nerd when I saw this, felt terrible that I just noticed I never actually replied to tell you thank you. But thank you both! This serves my needs perfectly |
Hi plotgardener team! :)
I was recently interested in surveying Hi-C regions with intrachromosomal translocations. I have often seen these represented in triangle plot form, as below (Wang et al 2021):
First, my understanding was that this kind of plot would not be possible with the current
plotHicTriangle
function; is that correct?Second, I thought maybe you could recreate a plot like this using crafty application of existing functions: I know that plotgardener can handle the 3 sections of this plot independently (
plotHicTriangle
to make the bottom 2 triangles for region 1 and region 2, andplotHicSquare
can make the intrachromosomal square part of the plot using both region 1 and region 2 with thealtchrom
parameters). However, I'm not sure if it is possible to rotate a square plot 45 degrees in order to place it between 2 triangle plots as would be necessary for that approach?In general, I'm wondering is such a plot is possible to stitch together with existing plotgardener functions, or if it's something that would require further intrachromosomal support? I do feel like it could be a huge can of worms potentially (some intrachromosomal plots I've seen get much more complex, with more than 2 regions, etc.) so I understand if it's just ultimately a limitation of the package.
Thanks for all your hard work and a beautiful package! :)
-Katie
The text was updated successfully, but these errors were encountered: