写作模板

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
chapters: false
figureTitle: "图"
figPrefix: "图"
tableTitle: "表"
tablePrefix: "表"
tableTemplate: |
*$$tableTitle$$ $$i$$*$$titleDelim$$ $$t$$
bibliography: "path/EEG.bib"
csl: chinese-gb7714-2005-numeric.csl
reference-section-title: Reference
tableTemplate: |
*$$tableTitle$$ $$i$$*$$titleDelim$$ $$t$$
link-citations: true
lang: en-GB
papersize: a4
colorlinks: true
links-as-notes: true
fontsize: 11.5pt

LME线性混合模型处理ERP

处理流程

根据论文《线性混合效应模型在婴儿和儿童事件相关潜力研究中的效用》1的处理过程找到了GitHub上的数据处理脚本。脚本共有7个,其中1-5是Matlab从Continues EEG到ERP的处理过程,脚本6-7是R语言对ERP进行LME混合线性模型的处理过程,如下图。

测试引用[13]

吧啦吧啦吧啦,见Table 1

Table 1. 我是表
a b c b
1 2 3 2
3 2 1 2

引用一个图Figure 1, 2

Figure 1. 图的标题

测试公式:见公式Equation 1 \[P_i(x) = \sum_i a_i x^i\qquad{(1)}\]

Figure 2. 重复测量流程图
1
pandoc -i '.\LME线性混合模型处理ERP(test).md' -o test.docx --filter pandoc-crossref --cite

hexo中使用pandoc

  1. 安装hexo-renderer-pandoc

    1
    npm install hexo-renderer-pandoc --save

  2. 修改hexo文件夹下的_config.yml

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    pandoc:
    filters:
    - pandoc-crossref
    extra:
    - citeproc:
    - bibliography: "/Users/macgazelle/blog/hexo/source/_posts/EEG.bib"
    - csl: "/Users/macgazelle/blog/hexo/source/_posts/chinese-gb7714-2015-numeric.csl"
    meta:
    - link-citations: true
    - reference-section-title: Reference
    - colorlinks: true
    - lang: en-GB
    - figPrefix: "Figure"
    - tblPrefix: "Table"
    - tableTitle: "Table"
    - figureTitle: "Figure"
    - titleDelim: .
    - eqnPrefix: "Equation"
    template:
    mathEngine:

  3. 头文件yml记得要加两句

    1
    2
    disableNunjucks: true
    mathjax: true

  4. hexo部署的时候,记得clean一下,用下面的命令

    1
    hexo clean && hexo g && hexo d


    1. 1.Mjha B , Skma B , Lcba B . Utility of Linear Mixed Effects Models for Event-Related Potential Research with Infants and Children. 2022. https://www.sciencedirect.com/science/article/pii/S1878929322000147 ↩︎

Reference

[1]
MARUSIC U. PESKAR M. DE PAUW K. et al. Neural Bases of Age-Related Sensorimotor Slowing in the Upper and Lower Limbs[J/OL]. Frontiers in Aging Neuroscience, 2022, 14: 819576. https://doi.org/10.3389/fnagi.2022.819576.
[2]
TEN BRINKE L F. BEST J R. CHAN J L C. et al. The Effects of Computerized Cognitive Training With and Without Physical Exercise on Cognitive Function in Older Adults: An 8-Week Randomized Controlled Trial[J/OL]. The Journals of Gerontology: Series A, 2019: glz115[2022-08-17]. https://academic.oup.com/biomedgerontology/advance-article/doi/10.1093/gerona/glz115/5485711.
[3]
HEISE M J. MON S K. BOWMAN L C. Utility of linear mixed effects models for event-related potential research with infants and children[J/OL]. Developmental Cognitive Neuroscience, 2022, 54: 101070[2022-08-27]. https://www.sciencedirect.com/science/article/pii/S1878929322000147.
坚持原创技术分享,您扫一扫将鼓励我继续写作!