In this paper by Alexander McCleary and Amit Patel, they build a functorial pipeline for persistent homology. The input to this pipeline is a filtered simplicial complex indexed by any finite lattice, and the output is a persistence diagram defined as the Mobius inversion of a certain monotone integral function.