Skip to content
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

Clarification on Exon Inclusion Representation in Visualizations #137

Open
COOL005 opened this issue Oct 29, 2024 · 3 comments
Open

Clarification on Exon Inclusion Representation in Visualizations #137

COOL005 opened this issue Oct 29, 2024 · 3 comments

Comments

@COOL005
Copy link

COOL005 commented Oct 29, 2024

Hello,

I am using your visualization tool for RNA-seq data analysis and have a question about how exon inclusion is depicted. The image shows two graphs in different colors (purple on top and red on the bottom), which I assume represent different splicing events. Below each graph, there are black blocks representing exons.

My question is whether the black block diagrams directly correspond to the graphs above them, i.e., does the purple graph correspond to the set of three exons, and the red graph to the set of two exons? Intuitively, a higher PSI value indicating more inclusion should correlate with diagrams having more exons. However, I noticed that the diagrams always place included exons on top and skipped exons on the bottom. Is this a fixed representation, or should the positions be manually adjusted based on PSI values?

Thank you for your assistance.
图片

@EricKutschera
Copy link
Contributor

The image is from https://github.com/Xinglab/rmats2sashimiplot/tree/v3.0.0?tab=readme-ov-file#using-a-group-file

It's plotting the skipped exon event from -e ./rmats2sashimiplot_test_data/SE.MATS.JC.txt. The coordinates of the exons (black boxes) are taken from that file and are shown at the top of the image. All of the graphs are for that same splicing event. The set of 3 exons is the inclusion isoform and the set of 2 exons is the skipping isoform. In general there is a set of exons for each isoform. There are two graphs (purple and red) because the command used --group-info grouping.gf to define two groups. Without --group-info each sample gets its own graph. The IncLevel is based on the IncLevel columns from SE.MATS.JC.txt and represents the relative support for the inclusion isoform compared to the skipping isoform in that sample or sample group

@COOL005
Copy link
Author

COOL005 commented Oct 29, 2024 via email

@EricKutschera
Copy link
Contributor

Each plot (purple and red) is for both sets of exons and each plot shows all the exons and junctions

This post describes how IncLevel is calculated: Xinglab/rmats-turbo#349 (comment)

For the purple graph, IncLevel: 0.21 = ((63+63)/148) / (((63+63)/148) + (235/74))

148 and 74 are the effective lengths taken from SE.MATS.JC.txt. The other numbers are the junction counts shown in the plot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants