These results confirmed that the expression of YAP1 was significantly related to infiltrating immune cells in PAAD and played a significant role in immune escape in the pancreatic cancer microenvironment. Here, YAP1 is linked to pancreatic adenocarcinoma.