I want to write a function in R that will download all possible RNA-Seq data sets and sample annotations from public data bases such as GEO. Is there any package that will do it? I know SRAdb or GEOquery but I need to provide SRR or GSM number. I would really appreciate any help regarding this issue. TIA.