My second R package is published in the Comprehensive R Archive Network named gateR. It estimates clustering of cytometry cells using markers and the spatial relative risk function via the sparr package. See the public Github repository for more details.