Count Normalisation and Batch Correction (TMM, CPM, ComBat)
Count normalisation and batch correction rescale RNA-seq counts for library size and composition (CPM, TMM, median of ratios, VST) and remove batch effects with empirical-Bayes ComBat.
카운트 정규화와 배치 보정은 RNA-seq 카운트를 라이브러리 크기와 구성에 맞춰 조정(CPM, TMM, 중앙값 비율, VST)하고 경험적 베이즈 ComBat으로 배치 효과를 제거하는 절차입니다.
Also known as: Count Normalisation (TMM)
다른 이름: 빈도 정규화(TMM)
My RNA-seq samples were sequenced in two batches with different depths; how do I normalise the counts and remove the batch effect before clustering?
RNA-seq 시료를 두 배치에서 서로 다른 깊이로 시퀀싱했는데, 군집분석 전에 카운트를 어떻게 정규화하고 배치 효과를 없애야 하나요?
TMM computes a weighted trimmed mean of log expression ratios against a reference sample, and median-of-ratios divides each sample by its median ratio to a pseudo-reference, so that a few highly expressed genes do not distort library sizes. ComBat then models each gene's batch shift and scale on the log scale, shrinks these batch parameters toward their across-gene means by empirical Bayes, and removes them while keeping protected covariates.
When to use Count Normalisation and Batch Correction (TMM, CPM, ComBat)
- You need normalised, log-scale expression values for clustering, PCA or visualisation.
- Samples were processed in known batches that are not confounded with the biology of interest.
- You want to see how much variance batch explains before and after correction.
When to use something else
- You will test differential expression; keep raw counts and include batch as a covariate in the negative binomial model instead.
- Batch is completely confounded with the groups you compare; no correction can separate them, so redesign or report the limitation.
Assumptions and requirements
- Most genes are not differentially expressed between samples.
- Each batch has at least two samples.
- Protected covariates are not collinear with batch.
What the analysis reports
- Normalisation factors and library sizes per sample
- VST trend coefficients when method = vst
- Mean gene variance explained by batch before and after ComBat
- Batch share of variance on PC1 before and after, with a bar chart
How to report it
Counts were normalised by [method] (factors [value]–[value]) and batch-corrected with ComBat; the share of gene variance explained by batch fell from [value] to [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Count Normalisation and Batch Correction (TMM, CPM, ComBat) itself, at the same price.
- Batch Effect Correction (ComBat) —
- Count Normalisation (Median of Ratios) — method set to “median_of_ratios”
Related methods
- Differential Expression for RNA-seq Counts (Negative Binomial GLM)
- Principal Component Analysis (PCA)
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 2건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Count Normalisation and Batch Correction (TMM, CPM, ComBat) on Quorant
- Data you need
- a table (CSV or Excel) with item columns (e.g. questionnaire items)
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.