INSTALLATION - MorganLevineLab/PC-Clocks GitHub Wiki

Downloading is simple!

(Just make sure everything is organized and saved properly.)


Instructions:

  1. Please clone or download the zip file of this Github Repository.

  2. Take note of where the installation occurred. Copy the path to that folder, including the final ‘/‘

  • This will be used in the template_get_PCClocks_script.R as the variable "clocksDir"
  • You will also need to keep track of where this folder is in order to download and move the data files in the next step
  1. Download the essential data files (Box Link)
  • “Example_PCClock_Data.RData” (Uses Lehne 2015 Technical Replicate Data)
  • “CalcAllPCClocks.RData”
  1. Place both of these RData files directly inside the Github Repository you downloaded

  2. [Optional] If you wish to calculate ALL the PCs we used to train the PC clocks, not just the ones that were selected by the models, download all 6 of these RData files—or the ones for the clocks you wish to utilize.

If you choose to calculate all PCs, then ensure that you move all downloaded files from this link to the downloaded repository under the folder path “PC-Clocks/Extras/AllPC_data/“
Please note that predicting all PCs in new data will be memory and computationally intensive, so the code may run slowly. Consider using a high performance computing cluster. A minimum of 16 GB+ of RAM is essential on a personal computer.