Last updated: 2021-03-24

Checks: 7 0

Knit directory: false.alarm/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


Great! Since the R Markdown file has been committed to the Git repository, you know the exact version of the code that produced these results.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(20201020) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version ecef47e. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    renv/library/
    Ignored:    renv/staging/

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/about.Rmd) and HTML (docs/about.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 7c3cc31 Francisco Bischoff 2021-03-23 Targets
html 7c3cc31 Francisco Bischoff 2021-03-23 Targets

Binder Launch binder Read Thesis

Abstract

Currently, Point-of-Care (POC) ECG monitoring works either as plot devices or alarms for abnormal cardiac rhythms using predefined normal trigger ranges. On the other hand, full 12-derivation ECG machines are complex to use as simple monitors and are used with strict techniques for formal diagnostics of hearth electric conduction pathologies, and the automatic diagnostics are derived from a full analysis of the 12-dimension data after it is fully collected. Both systems do not handle disconnected leads and patient’s motions, being strictly necessary to have a good and stable signal to allow proper diagnosis.

This research aims to identify abnormal hearth electric patterns using streaming data, specifically those who are life-threatening, being a reliable signal for Intensive Care Units to respond quickly to those situations.

The study design is comparable to a Diagnostic study, where high accuracy is essential. It will use the Physionet datasets1, and the algorithm will try to minimize the false negatives and false positives.

The expected result is the concretization of a new method that, besides being accurate, accomplishes this task using state of the art technology for time series analysis that allows minimum space and processor power to solve this problem. Also, we expect that fading factors can contribute to the state of the art of this technology.

The research team is well experienced in time-series and has studied the Matrix Profile since its beginning, being founders of the Matrix Profile Foundation whose goal is to have a concise and stable cross-language API for developing with the Matrix Profile technology.2,3

About the ongoing project.

The document submitted for approval is here.

To follow the thesis timeline you can access the full Gantt chart at Zenhub. Click here (you need a github account, but that’s it).

Reproducible Research4

This thesis will follow the compendium principles:

Following Standards

Aiming to create secure materials that are FAIR findable, accessible, interoperable, reusable

Research Data Management

  • RDM checklist5
  • Anticipate data products as part of your thesis outputs
  • Think about what technologies to use

Missing values are a fact of life

  • Usually, best solution is to leave blank
  • NA or NULL are also good options
  • NEVER use 0. Avoid numbers like -999
  • Don’t make up your own code for missing values

Raw data are sacrosanct

  • Don’t, not even with a barge pole, not for one second, touch or otherwise edit the raw data files. Do any manipulations in script

Three principles for good (file) names

Machine readable

  • Regular expression and globbing friendly

    • Avoid spaces, punctuation, accented characters, case sensitivity
  • Easy to compute on

    • Deliberate use of delimiters

    • Deliberate use of "-" and "_" allows recovery of metadata from the filenames:

      • "_" underscore used to delimit units of metadata I want to access later

      • "-" hyphen used to delimit words so our eyes don’t bleed

Human readable

  • Borrowing the concept from slugs from semantic URLs

Play well with default ordering

  • Put something numeric first

  • Use the ISO 8601 standard for dates

  • Left pad other numbers with zeros

License

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

References

1. Clifford GD, Silva I, Moody B, et al. The physionet/computing in cardiology challenge 2015: Reducing false arrhythmia alarms in the icu. In: Computing in Cardiology.; 2015. doi:10.1109/cic.2015.7408639

2. Bischoff F, Rodrigues PP. Tsmp: An r package for time series with matrix profile. Published online April 2019. doi:10.13140/rg.2.2.13040.30726

3. Van Benschoten A, Ouyang A, Bischoff F, Marrs T. MPA: A novel cross-language api for time series analysis. Journal of Open Source Software. 2020;5(49):2179. doi:10.21105/joss.02179

4. Krystalli A. R for Reproducible Research. Published online 2019. https://annakrystalli.me/rrresearch/

5. Centre EDC. Checklist for a data management plan. V.4.0. Published 2013. http://www.dcc.ac.uk/resources/data-management-plans


sessionInfo()
#> R version 4.0.4 (2021-02-15)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: Ubuntu 20.04.2 LTS
#> 
#> Matrix products: default
#> BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
#> LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
#> 
#> locale:
#>  [1] LC_CTYPE=C.UTF-8       LC_NUMERIC=C           LC_TIME=C.UTF-8       
#>  [4] LC_COLLATE=C.UTF-8     LC_MONETARY=C.UTF-8    LC_MESSAGES=C.UTF-8   
#>  [7] LC_PAPER=C.UTF-8       LC_NAME=C              LC_ADDRESS=C          
#> [10] LC_TELEPHONE=C         LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C   
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices datasets  utils     methods   base     
#> 
#> other attached packages:
#> [1] tarchetypes_0.1.0 targets_0.2.0     workflowr_1.6.2   here_1.0.1       
#> 
#> loaded via a namespace (and not attached):
#>  [1] Rcpp_1.0.6        git2r_0.28.0      jquerylib_0.1.3   bslib_0.2.4      
#>  [5] compiler_4.0.4    pillar_1.5.1      later_1.1.0.1     tools_4.0.4      
#>  [9] digest_0.6.27     jsonlite_1.7.2    evaluate_0.14     lifecycle_1.0.0  
#> [13] tibble_3.1.0      debugme_1.1.0     pkgconfig_2.0.3   rlang_0.4.10     
#> [17] igraph_1.2.6      cli_2.3.1         yaml_2.2.1        xfun_0.22        
#> [21] stringr_1.4.0     withr_2.4.1       knitr_1.31        sass_0.3.1       
#> [25] fs_1.5.0          vctrs_0.3.6       rprojroot_2.0.2   tidyselect_1.1.0 
#> [29] glue_1.4.2        data.table_1.14.0 R6_2.5.0          processx_3.4.5   
#> [33] fansi_0.4.2       rmarkdown_2.7.4   whisker_0.4       callr_3.5.1      
#> [37] purrr_0.3.4       magrittr_2.0.1    promises_1.2.0.1  ps_1.6.0         
#> [41] codetools_0.2-18  ellipsis_0.3.1    htmltools_0.5.1.1 assertthat_0.2.1 
#> [45] renv_0.13.0       httpuv_1.5.5      utf8_1.2.1        stringi_1.5.3    
#> [49] crayon_1.4.1