A method for studying the links between different dream sources