Skip to content

GENEDIFF

Differential expression between two groups of samples, gene by gene: limma moderated t (empirical Bayes), voom for RNA-seq counts, ordinary t, Welch t or Wilcoxon, with fold changes, FDR, volcano and MA plots and a top-gene heatmap.

GENEDIFF [VARIABLES=samples] /GROUP1=samples /GROUP2=samples [/LABELS='reference' 'comparison'] | /DESIGN=dataset|'file' SAMPLE=var GROUP=var(reference comparison) [COVARIATES=vars] [FACTORS=vars] [/METHOD=LIMMA|STUDENT|WELCH|WILCOXON|VOOM] [/ID=gene] [/ADJUST=BH|BY|HOLM|HOCHBERG|BONFERRONI|HOMMEL|QVALUE|NONE] [/CRITERIA=FDR(0.05) LFC(0) LAMBDA(0.5)] [/FILTER=CPM(x) MINSAMPLES(k) MINEXPR(x)|NONE] [/NORMFACTORS=TMM|UPPERQUARTILE|NONE] [/TOP=20] [/PLOT=VOLCANO MA PHIST HEATMAP|NONE] [/SAVE=LOGFC AVEEXPR TSTAT PVALUE ADJP].
Kind Procedure (reads data, produces output)
Body main /SUBCOMMAND[=] …
Changes data yes, undoable
Subcommands /ADJUST, /CRITERIA, /DESIGN, /FILTER, /GROUP1, /GROUP2, /ID, /LABELS, /METHOD, /NORMFACTORS, /PLOT, /SAVE, /TOP, /VARIABLES
Menu Analyze ▸ Genomics
Slot: Group 1 samples (reference) 1+ variable(s); levels: scale; types: numeric
Slot: Group 2 samples 1+ variable(s); levels: scale; types: numeric
Slot: Gene identifier 0–1 variable(s); levels: nominal, ordinal, scale; types: numeric, string
  • DESIGN: an open dataset (or quoted .sav/.csv path) with one case per sample; SAMPLE values are matched to the sample variable names (case-insensitive). GROUP=var(a b) picks the reference a and the comparison b (values or value labels’ codes); COVARIATES are numeric, FACTORS are dummy-coded (blocking, e.g. batch or patient for paired designs)
  • METHOD: LIMMA (default): moderated t on log-scale data (Smyth 2004); VOOM: raw counts, voom precision weights + moderated t; STUDENT: ordinary pooled t; WELCH; WILCOXON (exact for small groups without ties). Covariates need LIMMA, STUDENT or VOOM
  • ADJUST: multiple-testing correction across genes (default BH); QVALUE: Storey q-values
  • CRITERIA: FDR(α) and LFC(minimum |log2 fold change>) define significant genes; LAMBDA for QVALUE
  • FILTER: VOOM filters low counts by default (CPM ≥ 10/median library in millions in at least the smaller group, total ≥ 15); MINEXPR(x) for log-scale data; NONE tests every gene
  • SAVE: adds DE_logFC, DE_AveExpr, DE_t, DE_P, DE_adjP to the genes (all when no keyword)
GENEDIFF VARIABLES=S01 TO S12 /ID=gene /DESIGN=genomics_samples SAMPLE=sample GROUP=condition(1 2) FACTORS=batch /METHOD=VOOM /SAVE.
GENEDIFF /GROUP1=ctl1 TO ctl4 /GROUP2=trt1 TO trt4 /LABELS='Control' 'Treated' /ID=probe /CRITERIA=FDR(0.05) LFC(1) /PLOT=VOLCANO HEATMAP.
GENEDIFF /GROUP1=a1 TO a5 /GROUP2=b1 TO b5 /METHOD=WILCOXON /ADJUST=QVALUE.
  • log2FC is comparison − reference: on log2 data this is the log2 fold change; with VOOM it is in log2 CPM.
  • FILTER and SPLIT FILE select genes (cases); each split group gets its own prior.
  • limma’s B statistic and its trend/robust options are not computed.

GENENORM, GENEXPLORE, ADJUST PVALUES, T-TEST


Generated from OrcStat’s command registry and reference. To suggest a change, open an issue.