-
Notifications
You must be signed in to change notification settings - Fork 83
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
Quantities of DEGs (Red Dots) in Plot Do Not Match Known DEG Quantites in Dataset #109
Comments
Hi, |
Hi @SusiJo , Thank you for responding to my issue - I'm sorry to hear you are experiencing the same issue. I should have responded to my own help post sooner but my lab and I have resolved what was incorrect with our original code resulting in this issue. The issue is that the option 'xlim = c(-8, 8)' is actually setting the x-axis limit, not the x-axis size of the image. We had originally thought that this option allowed you to dictate essentially how wide the image should be, however, it is actually telling the program "I want you to only print the x-axis from -8 FC to 8 FC". Because of this, it was cutting off DEGs which contained FC's greater than or less than 8, thus, the number of dots do not match up with the known quantity of DEGs which was expected to be plotted. Hopefully this helps you resolve your issue as well perhaps. Best, Cullen |
Here's an easy way to get past your problem in the future, set an "xlim" based on the minimum and maximum number on your table: This way you won't have to adjust the axis manually in a loop |
Hello!
First off, thank you for such a great program to plot our transcriptomic data. I am experiencing an issue where I have a known number of DEGs (10 up and 11 down) (which are called via DESeq2 earlier on in my script and produce an output excel file (attached)) in a dataset, however, when I attempt to plot this data using the enhancedVolcano function, I receive different numbers (8 up and 5 down) (image attached). However, in running the same exact code for analysis of a different comparative dataset within the same experiment (it is in a loop btw), it does in fact plot the expected number of correct red dots (DEGs) (image not included). I have found that for my datasets which possess small enough quantities of DEGs to manually count the dots (between 10 and ~60), half are correct while the other half are not. Many of my comparisons are hundred or thousands of genes though, so these analysis are not able to be counted but I am concerned if they are accurate or not as well. My padj I am attempting to use as a cutoff is 0.05 and my FC is 2 (same exact parameters as was used when creating the output excel file from DESeq2).
I have attached my code below along with the first few lines of my dataset I am feeding in to the command.
Could you please help me figure out how to resolve this issue?
Thank you very much!
Cullen
First few lines of input data frame ('res'):
enhancedVolcano command:
Known number of DEGs based on DESeq2 output excel file results:
(10 up, 11 down)
Output graphic:
The text was updated successfully, but these errors were encountered: