tscnlab / LightLogR

Work With Data from Wearable Light Loggers and Optical Radiation Dosimeters
https://tscnlab.github.io/LightLogR/
GNU General Public License v3.0
9 stars 2 forks source link

Import data from GENEActiv device #27

Closed andrectonon closed 3 weeks ago

andrectonon commented 3 months ago

Hi everyone,

Great job putting this package together. I am very excited to try it :)

My name is André Comiran Tonon, I am currently working with Dr Benicio Frey at McMaster University and leading the CAN-BIND actigraphy analyses. In all CAN-BIND studies, across multiple sites in Canada, we use the GENEActiv device. This package is a great opportunity for us to conduct multi-site light exposure analyses in our multi-site clinical trials.

GENEActiv relies on GGIR, an R package that pretty much handles data filtering and analysis in a lazy way. However, I managed to export the .csv files that contain 15min epoch data for light exposure. I could use that with LightLogR, I am guessing.

But it would definitely be easier and more practical to import the raw bin files from GENEActiv for such analyses. I would send attached an example of a raw bin file but the format is not supported. I could send it via email. Mine is andrectonon@gmail.com.

I'm happy to discuss this matter in more detail. Thank you so much in advance!

André

JZauner commented 2 months ago

Hi André,

to mirror our conversation via email, here are the main takeaways so far:

Let us discuss this further and see how to tackle this best. Johannes

andrectonon commented 2 months ago

This material is great, thank you! Yes, the folder structure is always the same. When you analyze several bin files, they will all appear in the same folders. Raw data will be in the “meta” folders, all side by side. And data that was already processed will appear in the “results” folder as new lines in the same .csv files (for example, calculations of sleep onset, sleep duration etc etc).

Is there a way that we can import and analyze all RData files from the same folder at once?

Thanks!

André

From: Johannes Zauner @.> Reply-To: tscnlab/LightLogR @.> Date: Wednesday, July 24, 2024 at 7:50 AM To: tscnlab/LightLogR @.> Cc: André Tonon @.>, Author @.***> Subject: Re: [tscnlab/LightLogR] Import data from GENEActiv device (Issue #27)

Hi André,

to mirror our conversation via email, here are the main takeaways so far:

Let us discuss this further and see how to tackle this best. Johannes

— Reply to this email directly, view it on GitHubhttps://github.com/tscnlab/LightLogR/issues/27#issuecomment-2247713124, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJY4JXGK4AUKA4PHV4L42Z3ZN6IJVAVCNFSM6AAAAABKVAT24GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBXG4YTGMJSGQ. You are receiving this because you authored the thread.Message ID: @.***>

JZauner commented 3 weeks ago

Hi André,

the import routine will go live with LightLogR 0.4.1. A pull request ist already in action, so it should go live in the next few days.

All the best, Johannes