renozao / FAQR

Frequently Asked Questions on R: my personal Ask Just Once system for my friends' R problems...
0 stars 0 forks source link

How to get the GSE accession from a given eset #14

Open Rachelly opened 9 years ago

Rachelly commented 9 years ago

I have an eset and want to know what GSE it was taken from. Is there a function on expression sets that supply this information? (This is needed since I get the eset in a function and can't know in advance what is the GSE) Thanks!

renozao commented 9 years ago

You need to track the GSE id in the object. You could add the ID to the experiment data:

experimentData(e)@name <- 'GSE1234'
experimentData(e)@name
Rachelly commented 9 years ago

I would expect this to be part of the expressionSet as it is downloaded by getGEO.. Ok, thanks!

renozao commented 9 years ago

I know. Will add this to getGX though.

Rachelly commented 9 years ago

great, thanks!!