Anal manometry is a diagnostic test that measures the pressure and strength of the muscles in the rectum and anus. This test helps to identify potential issues with bowel control and can aid in the diagnosis of disorders such as fecal incontinence and Hirschsprung's disease. During the procedure, a thin tube is inserted into the rectum and pressure sensors in the tube measure the strength and function of the muscles. The results of the test can help doctors make a more accurate diagnosis and develop an individualized treatment plan.