Dual functions of Rap1 are crucial for T-cell homeostasis and prevention of spontaneous colitis. This evidence concerns the gene RAP1A and colitis.