Download transcription factors and co-factors data from AnimalTFDB
Source:R/dl_regulation_data.R
dl_regulation_data.Rd
This function downloads both transcription factor and cofactor data from the AnimalTFDB4 database.
The downloaded files are saved as .txt files in the specified directory.
If the files already exist locally and overwrite
is not set to TRUE, the function will not download them again.
The files will be stored in the data/derived-data/
folder, which will be created if necessary.
Arguments
- url_tf
The URL for the transcription factor data.
- url_cof
The URL for the transcription co-factor data.
- path
The directory for saving the downloaded files.
- filename_tf
The name associated with the downloaded transcription factor file.
- filename_cof
The name associated with the downloaded co-factor factor file.
- overwrite
If
TRUE
, the function overwrites existing output files; otherwise, it reads the existing file. (default is set toFALSE
).