highspeed-decoding-docs.Rmd 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ```{r, echo=FALSE, message=FALSE, include=FALSE}
  2. if (!requireNamespace("pacman")) install.packages("pacman")
  3. packages_cran <- c("here")
  4. pacman::p_load(char = packages_cran)
  5. if (basename(here::here()) == "highspeed"){
  6. path_root = here::here("highspeed-decoding")
  7. } else {
  8. path_root = here::here()
  9. }
  10. ```
  11. ## Multivariate decoding
  12. ### Overview
  13. #### Data availability
  14. The data is freely available from https://github.com/lnnrtwttkhn/highspeed-decoding and https://gin.g-node.org/lnnrtwttkhn/highspeed-decoding.
  15. #### License
  16. The dataset is licensed under Creative Commons Attribution-ShareAlike 4.0.
  17. Please see https://creativecommons.org/licenses/by-sa/4.0/ for details.
  18. ### Main decoding pipeline
  19. Here, we show the Python code used to run the decoding pipeline:
  20. ```{python, echo=TRUE, code=readLines(file.path(path_root, "code", "decoding", "highspeed_decoding.py")), eval=FALSE, python.reticulate=FALSE}
  21. ```
  22. ### Parallelization on HPC
  23. The decoding pipeline was parallelized on the local high performance cluster of the Max Planck Institute for Human Development, Berlin, Germany, using the following code:
  24. ```{bash, echo=TRUE, code=readLines(file.path(path_root, "code", "decoding", "highspeed-decoding-cluster.sh")), eval=FALSE}
  25. ```
  26. ### Software: Required packages
  27. The `requirements.txt` file lists the required packages which can be installed e.g., using `pip install -r requirements.txt`
  28. ```{bash, echo=TRUE, code=readLines(file.path(path_root, "code", "decoding", "requirements.txt")), eval=FALSE}
  29. ```