Entering edit mode
3.8 years ago
momo.bhmd
•
0
hi I'm biologist and I have a very primitive knlowdge in R. Recently, I found this amazing tool "EnhancedVolcano" to visualize the DEG between two different cells type. I want to show the name of only the top 20 differentially expressed genes in the both side of the volcano plot, do you have any recommendation ? Thanks a lot
yes but it was not reported :-(
Hey, my colleagues and I developed this tool. You would have to find out the top 20 and then pass these gene names as a vector to the
selectLab
parameter. This should work.To get the top 20 on both sides of the plot, you could do this manually by looking at the results table, or programmatically via
head()
,subset()
, or some other function for subsetting.In your plot, I would also increase those label sizes. Make use of the full plot window and don't be shy about using up white-space.
Thanks a lot Kevin for your help :-)
Hi kevin, in the same context, I want to highlight a specific set of genes with different colour without overriding the existing colour of the Volcano plot (colouring only a specific set of genes while keeping the default colour of the volcano plot) .. I tried ColCustom parameter but it’s not working. D you have any suggestion ? thanks a lot :-)
For that part, there are sections in the vignette. Did you follow them, or, what happened ... ? please share your code and the output of your colCustom variable, if possible.
Thanks again for your time :-) I want the highlight the genes "ISG" in 'gold' while keeping the standard theme of the EnhancedVolcano. Also, I want to hide the transcript name. I apologize for asking many questions, my coding knowledge are more than basic. Here's my code
'i' contain the list of the genes that I want to highlight
To hide the labels, I think that it is just
lab = NULL
orlab = NA
.Also, I can see that the
colCustom
is actually functioning; however, the issue is that the ISG genes are mostly concealed behind others. The only current way to get around this is to re-order your input results table,res1
, so that the ISG genes are at the bottom ofres1
, meaning that they will be plot last and will be more prominent in the plot space.Thanks a lot and the other issue that I was not able to keep the standard colour the EnhancedVolcano col = c('grey30', 'forestgreen', 'royalblue', 'red2'), do you have any suggestion ?