What object in GEO2R R code environment to use for ggplot2 Volcano and listing DEG?



I copy the R script from GEO2R into my RStudios.

I want to create a table in R that contain Different Expressed Gene list that show Gene Entrez ID, Log2 Fold Change, adjusted p-value and P-value.

The object that I call to display these information still contain multiple Gene ID and Gene.Symbol in one row mapped to one array probe (i think). Some probes does not even have Gene.ID and Gene.Symbol. Example Column as below.

  1. Gene ID: 102640145///102631971///100039019, 20860
  2. Gene Symbol: Gm21286///LOC102631971///Mup-ps12, Sult1e1

(I want the table to display gene like Sult1e1 which only have 1 id and 1 symbol, but gene Gm21286 have multiple ID and symbol in them)

Now I was wondering which object should I call in using GEO2R script to display gene list and other information that is useful for plotting without having seeing above example.

Alternatively can someone point to me if I do wrong here.
Should I filter the list from multiple Gene.ID and empty row first? How to seperate gene with multiple info in it?
Or am I just dumb like trying to do things in long way, because there is much simpler way such as using other bioconductor packages etc...






Source link