GithubHelp home page GithubHelp logo

lukepilling / biobank_accel_processing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrew-leroux/biobank_accel_processing

0.0 0.0 0.0 324 KB

Shell 0.18% R 12.82% HTML 85.74% TeX 1.26%

biobank_accel_processing's Introduction

biobank_accel_processing

This repository contains code for transforming the 5-second level UK Biobank accelerometry data and deriving a number of scalar summaries.

Because the UK Biobank data must be stored locally, the data path will vary for each individual. To that end we have structured the data processing code contained herein to run dependent on an R script which defined three data directories. In addition, for deriving scalar summaries, we require a name for a .rds file which contains the UK Biobank team derived accelerometry data quality variables. This file should be named "make_data_directories.R" and stored within the code subdirectory of this repository. An example "make_data_directories.R" is below:

## data for raw 5-second level data
data_path_5sec                <- "raw_data_directory"
## directory for saving the minute level data
data_path_processed           <- "/processed_data_directory"
## directory for ukb quality flags 
data_path_accel_quality_flags <- "/data_qualtiy_directory"
## name of data file with data quality flags
data_accel_quality_flags      <- "accel.rds"

Citation

Leroux et al. "Quantifying the Predictive Performance of Objectively Measured Physical Activity on Mortality in the UK Biobank" J Gerontol A Biol Sci Med Sci. 2021 Aug https://doi.org/10.1093/gerona/glaa250

biobank_accel_processing's People

Contributors

lcpilling avatar andrew-leroux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.