Function to download a text file from the web.
Arguments
- url
character, Google Cloud Storage URL, e.g., "https://storage.googleapis.com/motrpac-rat-training-6mo-extdata/training-da/PHOSPHO/pass1b-06_t70-white-adipose_prot-ph_training-dea-fdr.txt"
- scratchdir
character, local directory in which to download data from the web. Current working directory by default. Downloaded files are deleted before returning the result.
- return_data_table
bool, whether to return a data table. If FALSE, return a data frame. FALSE by default.