yolandalago / CIRCUST

1 stars 1 forks source link

missing "function1Local_modif" function #1

Closed michells closed 11 months ago

michells commented 1 year ago

When I run the example code, I run into an error at #3.1. The error statement is: Error in function1Local_modif(datos[i, ], parallel = "auto") : could not find function "function1Local_modif"

yolandalago commented 1 year ago

Thanks for the comment. The code has been updated.

michells commented 1 year ago

Hi Yolanda, thank you for the quick update! I am having another issue with the "upDownUp_NP_Code_NoParalelizado" script. I am unable to dyn.load "pava.dll" and "busquedaMejor.dll" because the files do not exist?

yolandalago commented 1 year ago

Please try again.

michells commented 11 months ago

Thank you, it all works now. Just one more question- can you please advise on how I can output the circust estimates for the circadian phase time for each sample?

yolandalago commented 11 months ago

As the key output of interest in our paper is the FMM parameters, we did not explicitly provide the details in the text, but you can obtain them from the code. For functions such as 'basicOrder_cores,' which calculates the circular order, the phase estimates are the second element in the list provided as output, labeled as 'escNewNew.' In general, I use the terminology 'esc' to refer to these values in functions that involve circular order estimation.