Skip to content

jeffspence/specificity_length_luck

Repository files navigation

specificity_length_luck

Scripts used for plotting and analyzing data for Specificity, length and luck drive gene rankings in association studies.

To generate the plots, first run python generate_data.py (it will take a few hours), then run the R script plotting_scripts.R (should take <15 minutes). python generate_data.py will print out filenames that it is generating as it generate them. Before running plotting_scripts.R it will be necessary to change the working directory to the repo's directory (on line 19). Various processed data are available in the data/ directory.

The required packages are imported at the tops of each of those two scripts. The python packages with version numbers are listed in requirements.txt. R packages are listed in r_requirements.txt. The packages should be generally easy to download and install, except for fastDTWF which must be installed as described here. For these analyses we used python v.3.9.23, and R v.4.4.0.

About

Scripts used for plotting and analyzing data for https://www.biorxiv.org/content/10.1101/2024.12.12.628073v1.abstract

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published