This study compares gene expression in mucosa of the terminal ileum, right colon, and left colon in patients with diarrhea- or constipation-predominant irritable bowel syndrome (IBS) and contrasts expression between these two disease entities and also between each entity and mucosa from healthy controls. The study shows there is differential expression of genes related to immune, transmitter, nociceptive, ion channel, and transporter functions, as well as reduced serine protease inhibition, in patients with IBS.