A systematic approach and software for the analysis of point patterns on river networks