Comments (6)
Yes, let's work these filters into psyphr
. Is it also possible to provide users with the number of segments lost due to each of these criterion for easy reporting?
For HRV, the criteria are quite clear:
-
Each segment must be at least 30 seconds in length in order to derive respiratory sinus arrhythmia (RSA). If a segment is shorter than 30 seconds, RSA will not be available (black space). Common segment length selections include 30 seconds, 1 minute, 5 minute, etc. Technically, the segment can be of any duration; however, RSA cannot be derived from segments shorter that 30 seconds nor should researchers use segments of varying lengths (e.g., 30 seconds in one task and 1 minute in the other) within one study.
-
If a researcher estimates more than 10 percent of R-peaks (heart beats) within a given segment, the segment should be excluded from analyses. For example, in a typical 30-second segment, you might have 40 R-peaks; if more than 4 R-peaks are estimated (i.e., the R-peak marker moved to estimate inter-beat interval), the segment should not be included in analyses. This 10 percent rule is commonly accepted in the heart rate variability literature. More information here.
-
Respiration rate and respiratory peak frequency (related measures) must be within expected range per individual's age range and study conditions (wider range if exercise involved). Respiration rate and respiratory peak frequency on the HRV Stats sheet can be cross-referenced with the frequency bands listed on the Settings sheet. Some researchers look across frequency bands (very low to high/RSA), so we will want to include the full range (3 rows on Settings sheet). See here for more information.
The EDA literature, unfortunately, does not provide clear quality control guidelines. I am still looking into this. I have a few more resources to check.
from psyphr.
Thanks for the examples, which are very specific and detailed. I will find an appropriate time to implement them. Currently I'm looking at using perhaps a combination of the data frame-specific assertr
or the more general assertthat
package. Any thoughts?
from psyphr.
I don't think I know enough about assertr
and assertthat
to provide thoughts. Let's chat more about it.
from psyphr.
from psyphr.
I am hoping @MalloryJfeldman can help us with suggested scoring/editing approaches for the other data types.
from psyphr.
See google doc for guidelines per data type and ideas for implementation within psyphr
.
from psyphr.
Related Issues (20)
- Mechanism to drop (HRV) segments shorter than 30 seconds HOT 3
- Update description file (authors, contributors, funders, acknowledgements) HOT 3
- Collect dummy data for use in munging/viz/analysis examples, vignettes, tutorials HOT 3
- TIMELINE: rOpenSci > CRAN > journal
- License HOT 7
- Supporting BIOPAC output HOT 7
- Review survey responses & reactions
- Evaluate BIDS Schema HOT 4
- MW BioLab Epoch File? HOT 1
- Implement GBA code suggestions HOT 6
- Follow {tidyverse} principles HOT 2
- For exported functions, put examples in roxygen notes
- Study/file size HOT 10
- Downstream analyses: Common approaches and use cases HOT 5
- Quality control guidelines, filters, & meta-data
- MAD/MED check
- On-disk caching HOT 2
- Is it necessary to make a View() generic for psyphr_study? HOT 3
- BIDS Formatting HOT 1
- Transfer issues to psyphr-dev and respective package HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psyphr.