A random effects stochastic block model for joint community detection in multiple networks with applications to neuroimaging (The annals of applied statistics, 2020)