printing volcano plot
0
0
Entering edit mode
3.4 years ago

hey friends, i need your help in using " volcano plot" ,

I have two questions about volcano plot,

1) i have a df and i want to add a volcano plot to see the gene expression 2) i want to print the volcano plot in a way i would be abble to see the "graph"

thank you a lot!

Edited: Tags

bioinfokit python gene_expression volcano_plot • 2.4k views
ADD COMMENT
0
Entering edit mode

What have you tried?

ADD REPLY
0
Entering edit mode

as I understood after importing:

from bioinfokit import analys, visuz

I tried the following code:

visuz.gene_exp.volcano(df=df, lfc='log2FC', pv='p-value')

but cant understand if it is really the way and if it is so how to print it

ADD REPLY
0
Entering edit mode

here is the tutorial on volcanoplot using bioinfokit: https://www.reneshbedre.com/blog/volcano.html

ADD REPLY
0
Entering edit mode

provide an example df and what you want to plot on x and y. Please post your code if you went through any tutorials. If you are a newbie, try in R:

  1. Load ggplot library
  2. On x-axis, plot fold changes (log2)
  3. On Y-axis, plot -log10 p-value or FDR.

If you do not want to code, try online volcano plotting service here with example data and your data: https://huygens.science.uva.nl/VolcaNoseR/

ADD REPLY
0
Entering edit mode
library(tidyverse)

df %>%
  ggplot() +
  aes(x = l2fc, y =  -log(padj)) +
  geom_point()
ADD REPLY

Login before adding your answer.

Traffic: 1535 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6