Hallo,
I would like to create such an expression matrix:
GENE ID/SAMPLE sample1 sample2 sample3 sample4 sample-n
gene1 logFC ... ... ... ...
gene2 ... ... ... ... ...
gene3 ... ... ... ... ...
gene4 ... ... ... ... ...
gene-n ... ... ... ... ...
using data from GSE at GEO. I will be grateful for any suggestions or just codes.
Second thing:
How to get such an expression matrix after limma DE analysis? How to modify limma codes? I will appreciate any suggestions or codes.
Thanks in advance, one more time.
Regards!
Thank you for the answer. I have checked it already, and what I got:
The same thing appers when using only fData command.
Note that
getGEO()
returns a list. I'm guessing that you tried to usefData()
on that list. To get the first element of the list (usually, that is what you want), you'll want to follow the code above and note the[[1]]
after thegetGEO()
function call. In my code above,gse
is an ExpressionSet. If you need to check, you can tryclass(gse)
.Now, everything is working. You have solved my problem. Thank you very much!
Regards!