getRestFeatures: extracts features from accelerometer rest data file

Description Usage Arguments Value Examples

View source: R/restModule.R

Description

extracts features from accelerometer rest data file

Usage

1
getRestFeatures(restAccel_json_file)

Arguments

restAccel_json_file

path to accelerometer json file

Value

data frame of rest features

Examples

1
2
3
4
5
6
7
library(synapseClient)
synapseLogin()
walkingTable = synTableQuery("SELECT * FROM syn5713119")
walkingTable = walkingTable@values
sampleRow = rownames(walkingTable)[10]
sample_restAccel_jsonFile <- synDownloadTableFile('syn5713119',sampleRow, 'accel_walking_rest.json.items')
getRestFeatures(sample_restAccel_jsonFile)

Sage-Bionetworks/mpowertools documentation built on Feb. 14, 2020, 5:54 p.m.