MorganLevineLab / PC-Clocks

Code for the calculation and implementation of the PC Based epigenetic clocks
48 stars 11 forks source link

Update template_get_PCClocks_script.R #6

Open kveeramah opened 2 years ago

MorganLevineLab commented 2 years ago

Is there a specific reason why you want to load all of the PCClocks PC objects into your global environment? It should be loaded within the run_calcAllPCClocks.R function, which allows it to calculate the PC clocks without cluttering your workspace.

kveeramah commented 2 years ago

I could not get calcPCClocks to work without it as CalcAllPCClocks.RData contains the 'CpG' dataframe needed for it to run.