anhtr / HPAanalyze

A Bioconductor package to retrieve and analyze data from the Human Protein Atlas
GNU General Public License v3.0
31 stars 8 forks source link

Feature Request: hpaDownload() use already downloaded files #26

Closed SuhasSrinivasan closed 2 months ago

SuhasSrinivasan commented 3 months ago

Hi,

Thank you for developing and maintaining this useful package!

When using hpaDownload() the files are downloaded for each function call. It would be quite helpful if already downloaded files can be reused, and if there is a parameter to pass the directory. This would require information from request #25

anhtr commented 2 months ago

Hello @SuhasSrinivasan, this would introduce the complications of aligning the version of the data and of the function. HPA downloadable data can have different column names and file names in each version. In the past we tried to support earlier versions, but it had proven to be too complicated and niche. For reproducibility purpose, consider saving the list of data frames that hpaDownload creates as .rds or the individual data frames as .rds, or .csv.