Network analysis of the cellular circuits of memory