Our results suggest that YAP1 expression is related to pancreatic cancer and the immune microenvironment. Here, YAP1 is linked to pancreatic neoplasm.