Threshold functions for small subgraphs | Synapse