Gene expression data is collected through various techniques. Microarrays involve hybridizing cDNA to a chip containing thousands of DNA probes, measuring the intensity of the signals to quantify gene expression. RNA-Seq, on the other hand, involves sequencing the RNA in a sample, providing a more comprehensive and accurate measure of gene expression, including the ability to detect novel transcripts and splice variants.