guma44 / GEOparse

Python library to access Gene Expression Omnibus Database (GEO)
BSD 3-Clause "New" or "Revised" License
137 stars 51 forks source link

Summary GSM metadata table #79

Open RemyLau opened 2 years ago

RemyLau commented 2 years ago

Hi, thanks for providing such a great library! I'm wondering if there's a way I can get a summary table of GSM metadata for all GSMs in a GSE? Currently I'm manually looping over each gsm and combine into a table manually, something like:

gse = GEOparse.get_GEO('GSExxxx')
df = pd.DataFrame([gsm.metadata.values() for gsm in gse.gsms.values()])