# 微阵列显著性分析

微阵列显著性分析（Significance analysis of microarrays，SAM）是一种基于置换的统计方法，用于识别微阵列实验中不同实验条件下差异表达的基因，同时估计所得基因列表的错误发现率（false discovery rate，FDR）。该方法根据每个基因的表达变化相对于重复测量标准差的大小为其分配一个得分，并通过分析测量的置换来估计FDR。<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup> SAM 已成为微阵列分析的标准工具；2005年报道的一项 ISI 检索表明，它是微阵列分析中最常用的方法，截至2004年10月，原始文献已被引用635次。<sup>[2](https://link.springer.com/article/10.1186/1471-2105-6-129)</sup>

| 关键事实 | 详情 |
|---|---|
| 输出内容 | 一个排序的基因列表，包含每个基因的检验统计量、选定的阈值 Δ、估计的 FDR 以及每个基因的 q 值<sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup> |
| 统计量 | 均值差与标准差加微调因子 \( s_{0} \) 之比，类似于调节 t 统计量<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup> |
| FDR | 通过响应标签的置换来估计；并非严格的 FDR 控制程序<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup> |
| 数据类型 | 两类非配对和配对、多类、定量、删失生存、一类、时间序列<sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup><sup> • </sup><sup>[4](https://cran.r-project.org/web/packages/samr/refman/samr.html)</sup> |
| 置换次数 | 建议至少1,000次以获得准确的 FDR 估计<sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup> |
| 原始结果 | 在估计 FDR 为12%时，34个基因变化至少1.5倍，而传统方法的 FDR 为60%和84%<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup> |
| 软件 | Excel 加载项、CRAN 上的 R 包 samr，以及 Bioconductor 包 siggenes<sup>[5](https://tibshirani.su.domains/SAM/index.html)</sup><sup> • </sup><sup>[6](https://bioconductor.statistik.tu-dortmund.de/packages/3.23/bioc/vignettes/siggenes/inst/doc/siggenesRnews.pdf)</sup> |

## 工作原理

对于每个基因，SAM 计算一个一般形式的统计量

\[ d(i) = \frac{r(i)}{s(i) + s_{0}} \]

其中 \( r(i) \) 是组均值差（基于两种状态下表达测量值之和的相对差异，其方差项涉及 \( a = \frac{1/n_{1} + 1/n_{2}}{n_{1} + n_{2} - 2} \)），\( s(i) \) 是组均值差的估计标准误，等于合并的组内标准差乘以 \( \sqrt{1/n_{1} + 1/n_{2}} \)，而 \( s_{0} \) 是一个小的正常数，称为微调因子或可交换性因子。<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup><sup> • </sup><sup>[7](https://genomebiology.biomedcentral.com/articles/10.1186/gb-2003-4-6-r41)</sup> 令 \( s_{0} = 0 \) 则得到普通的 t 统计量。<sup>[7](https://genomebiology.biomedcentral.com/articles/10.1186/gb-2003-4-6-r41)</sup> 该常数起到稳定方差的作用：没有它，标准差极小的基因可能偶然产生很大的统计量，而由于 SAM 倾向于较大的分母常数，统计量更多地依赖于倍数变化值。<sup>[8](https://link.springer.com/article/10.1186/1471-2105-7-359)</sup>

该算法计算有序统计量 \( d_{(1)} \le \cdots \le d_{(p)} \)，对响应值进行 B 次置换，并将期望有序统计量 \( \bar{d}_{(i)} \) 估计为置换上的均值。当 \( d_{(i)} - \bar{d}_{(i)} \) 超过 Δ（正侧）或 \( \bar{d}_{(i)} - d_{(i)} \) 超过 Δ（负侧）时，该基因被称为显著。<sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup> SAM 不采用对称切点 \( \pm t \)，而是导出两个切点 \( t_{1} \) 和 \( t_{2} \)，拒绝规则为 \( d_{j} < t_{1} \) 或 \( d_{j} > t_{2} \)，当过表达基因多于低表达基因时可给出更有力的检验。<sup>[9](http://genomics.princeton.edu/storeylab/papers/storey-springer.pdf)</sup>

FDR 的计算方式为：置换中错误判定基因数的中位数（或第90百分位数）除以判定为显著的基因数；这些错误计数乘以 \( \hat{\pi}_{0} \)，即零假设实际成立的基因的估计比例，一个介于0和1之间的因子，显示在所有输出中。<sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup> 每个基因还得到一个 q 值，即该基因被判定为显著时的最低 FDR，这一量与 p 值类似但适用于多重检验。<sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup> SAM 不提供对族系错误率的强控制或弱控制；相反，它为调节参数 Δ 的每个值提供 FDR 的估计。<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup>

## 操作步骤

典型分析流程如下。首先，选择响应类型：两类非配对、两类配对、多类、定量（连续参数）、生存（删失结局）、一类或时间序列；每种类型有其自身的置换方案。<sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup><sup> • </sup><sup>[4](https://cran.r-project.org/web/packages/samr/refman/samr.html)</sup> 其次，设置置换次数：100或200次足以进行初步探索性分析，但建议至少1,000次置换以获得准确的 FDR 估计。<sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup> 第三，选择 s₀，可通过在 s 值的各分箱中最小化 d 统计量的变异系数来自动选择，或指定标准差值的百分位数（samr 参数 s0.perc；−1 表示 \( s_{0} = 0 \)）。<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup><sup> • </sup><sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup><sup> • </sup><sup>[4](https://cran.r-project.org/web/packages/samr/refman/samr.html)</sup> 第四，从观测 d 值与期望 d 值的 SAM 图中交互式选择 Δ，其中 Δ 是距斜率1的45度线的垂直距离，从 Δ 表中读取估计的 FDR。<sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup><sup> • </sup><sup>[4](https://cran.r-project.org/web/packages/samr/refman/samr.html)</sup><sup> • </sup><sup>[10](https://home.cc.umanitoba.ca/~psgendb/birchhomedir/doc/BIRCH/doc/MeV/manual/sam.html)</sup>

SAM 以 Microsoft Excel 加载项的形式发布，适用于 cDNA 和寡核苷酸微阵列数据，也可应用于蛋白质表达和 SNP 芯片数据。<sup>[5](https://tibshirani.su.domains/SAM/index.html)</sup> 在 R 中，CRAN 上的 samr 包实现了相同的分析，Bioconductor 包 siggenes 提供了一个 sam 函数，提供调节 t 和 F 统计量、Wilcoxon 秩和以及用于分类数据（如 SNP 数据）的 Pearson 卡方统计量。<sup>[4](https://cran.r-project.org/web/packages/samr/refman/samr.html)</sup><sup> • </sup><sup>[6](https://bioconductor.statistik.tu-dortmund.de/packages/3.23/bioc/vignettes/siggenes/inst/doc/siggenesRnews.pdf)</sup>

## 起源

SAM 由 Virginia Goss Tusher、Robert Tibshirani 和 Gilbert Chu 在《微阵列显著性分析应用于电离辐射响应》一文中提出，发表于《美国国家科学院院刊》第98卷第9期，第5116–5121页，2001年4月24日。<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup> 促成该方法开发的应用研究识别了对电离辐射响应的基因：SAM 发现了34个变化至少1.5倍的基因，估计 FDR 为12%，而传统方法的 FDR 为60%和84%。<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup>

早期的多重检验方法不适用于该数据。Bonferroni 校正和 Westfall–Young 逐步下降校正（由 Dudoit 及其同事针对微阵列改编）允许检验之间存在相关性，但仍然过于严格，未能产生显著基因。<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup> Benjamini 和 Hochberg 的 FDR 方法假设检验独立，在仅有八个实验可供置换的情况下给出了过于粗糙的结果（零个或300个显著基因）。<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup> 后来纳入软件的 FDR 和 q 值机制借鉴了 John D. Storey 2002年发表于《皇家统计学会杂志 B 辑》的论文《估计错误发现率的直接方法》，以及 Efron、Tibshirani、Storey 和 Tusher（2001，JASA）关于局部 FDR 的工作。<sup>[5](https://tibshirani.su.domains/SAM/index.html)</sup><sup> • </sup><sup>[11](https://doi.org/10.1111/1467-9868.00346)</sup>

## 变体

统计量 \( d(i) \) 可以针对其他结局重新定义，同时保持相同的基于置换的 FDR 估计，在每种改编中，FDR 估计都通过使用适合设计的方案在样本间置换响应分配来进行，同时保持每个样本的表达谱不变：对于生存数据，d(i) 以 Cox 比例风险函数定义；对于定量参数（如肿瘤分期），以 Pearson 相关系数定义。<sup>[1](https://doi.org/10.1073/pnas.091062498)</sup> samr 包还支持微阵列和测序数据的模式发现和时间序列变体。<sup>[4](https://cran.r-project.org/web/packages/samr/refman/samr.html)</sup>

对于 RNA-seq，SAM 4.0（2011年7月1日发布的主要版本）增加了 SAMSeq，即 Jun Li 和 Robert Tibshirani 的非参数重采样方法，该方法考虑了测序深度的差异，并在两类情况下使用 Wilcoxon 等统计量。<sup>[5](https://tibshirani.su.domains/SAM/index.html)</sup><sup> • </sup><sup>[3](https://tibshirani.su.domains/SAM/sam.pdf)</sup><sup> • </sup><sup>[12](https://doi.org/10.1177/0962280211428386)</sup> Ekua Kotoka 和 Megan Orr 在2017年的一项修改中引入了检验统计量的符号，以在效应量分布不对称时提高功效或 FDR 控制。<sup>[13](https://doi.org/10.1515/sagmb-2016-0037)</sup>

## 局限性与替代方法

文献记录了若干失效模式。有文献报道 SAM 不能很好地控制 FDR，这促使对该方法及其 R 包进行了广泛评估。<sup>[14](https://pmc.ncbi.nlm.nih.gov/articles/PMC1955751/)</sup> 对于小样本量和大量表达基因的情况，基于置换数据集的分布可能不能很好地近似零分布，导致 FDR 不准确；此外，低方差基因可能因微调因子而被过滤掉。<sup>[15](https://genomebiology.biomedcentral.com/articles/10.1186/gb-2004-6-1-p2)</sup> SAM 应用于噪声数据集时表现也不佳，在一项基准测试中，它在低样本量时未能优于经典的倍数变化法。<sup>[8](https://link.springer.com/article/10.1186/1471-2105-7-359)</sup>

与调节 t 检验替代方法的基准比较结果不一。在一项五方法比较（t 检验、SAM、eBayes、TREAT、AAA）中，调节方法在每组样本量为6或更少时在功效和一致性方面更优，其中 TREAT 的一致性最高；小样本量下的总体功效以 eBayes 和 TREAT 最高，SAM 略低，可能归因于其较低的错误率。所有五种方法的错误发现率均保持在名义0.05水平或以下，但在每组3个样本时，几种方法超过了该水平。<sup>[16](https://pmc.ncbi.nlm.nih.gov/articles/PMC3993975/)</sup> 另一项比较发现三种经验贝叶斯方法——CyberT、BRB 和 limma t 统计量——在模拟和真实的双色 cDNA 及 Affymetrix 数据中是最有效的检验，而标准双样本 t 检验和倍数变化则次优。<sup>[17](https://link.springer.com/article/10.1186/1471-2105-10-45)</sup> 这些排名在小样本量下 SAM 相对于 eBayes 和 limma 的位置上并不完全一致。另一项方法学研究直接将 SAM 的 FDR 控制与 Benjamini–Hochberg 程序进行比较，并考察了小方差基因对 SAM FDR 的影响。<sup>[18](https://onlinelibrary.wiley.com/doi/10.1002/bimj.200710467)</sup>

## References

1. [Virginia Goss Tusher, Robert Tibshirani, Gilbert Chu (2001). Significance analysis of microarrays applied to the ionizing radiation response. Proceedings of the National Academy of Sciences.](https://doi.org/10.1073/pnas.091062498)
2. [Considerations when using the significance analysis of microarrays (SAM) algorithm (BMC Bioinformatics, 2005)](https://link.springer.com/article/10.1186/1471-2105-6-129)
3. [Significance analysis of Microarrays: User guide and technical document (SAM 4.0)](https://tibshirani.su.domains/SAM/sam.pdf)
4. [Help for package samr (CRAN reference manual)](https://cran.r-project.org/web/packages/samr/refman/samr.html)
5. [Significance Analysis of Microarrays (official SAM software page, Stanford)](https://tibshirani.su.domains/SAM/index.html)
6. [Identifying Interesting Genes with siggenes (Bioconductor vignette)](https://bioconductor.statistik.tu-dortmund.de/packages/3.23/bioc/vignettes/siggenes/inst/doc/siggenesRnews.pdf)
7. [Statistical methods for ranking differentially expressed genes (Genome Biology 2003)](https://genomebiology.biomedcentral.com/articles/10.1186/gb-2003-4-6-r41)
8. [Comparison and evaluation of methods for generating differentially expressed gene lists from microarray data (BMC Bioinformatics)](https://link.springer.com/article/10.1186/1471-2105-7-359)
9. [SAM Thresholding and False Discovery Rates for Detecting Differential Gene Expression (Storey, Springer chapter)](http://genomics.princeton.edu/storeylab/papers/storey-springer.pdf)
10. [SAM: Significance Analysis of Microarrays (MeV manual)](https://home.cc.umanitoba.ca/~psgendb/birchhomedir/doc/BIRCH/doc/MeV/manual/sam.html)
11. [John D. Storey (2002). A Direct Approach to False Discovery Rates. Journal of the Royal Statistical Society Series B (Statistical Methodology).](https://doi.org/10.1111/1467-9868.00346)
12. [Jun Li, Robert Tibshirani (2011). Finding consistent patterns: A nonparametric approach for identifying differential expression in RNA-Seq data. Statistical Methods in Medical Research.](https://doi.org/10.1177/0962280211428386)
13. [Ekua Kotoka, Megan Orr (2017). Modifying SAMseq to account for asymmetry in the distribution of effect sizes when identifying differentially expressed genes. Statistical Applications in Genetics and Molecular Biology.](https://doi.org/10.1515/sagmb-2016-0037)
14. [A comprehensive evaluation of SAM, the SAM R-package and a simple modification to improve its performance (BMC Bioinformatics, 2007)](https://pmc.ncbi.nlm.nih.gov/articles/PMC1955751/)
15. [A tool for comparing different statistical methods on identifying differentially expressed genes (Genome Biology)](https://genomebiology.biomedcentral.com/articles/10.1186/gb-2004-6-1-p2)
16. [Empirical Evaluation of Consistency and Accuracy of Methods to Detect Differentially Expressed Genes Based on Microarray Data](https://pmc.ncbi.nlm.nih.gov/articles/PMC3993975/)
17. [Comparison of small n statistical tests of differential expression applied to microarrays (BMC Bioinformatics)](https://link.springer.com/article/10.1186/1471-2105-10-45)
18. [An Investigation on Performance of Significance Analysis of Microarray (SAM) for the Comparisons of Several Treatments with one Control in the Presence of Small-variance Genes (Biometrical Journal)](https://onlinelibrary.wiley.com/doi/10.1002/bimj.200710467)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Hypothesis testing › False discovery rate and error-rate control

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/significance-analysis-of-microarrays

English original: https://www.edgepedia.org/significance-analysis-of-microarrays
