The neighborhood lattice for encoding partial correlations in a Hilbert space