pattern recognition receptor activity [GO_0038187] - Virtual Fly Brain