Example of metaphor:
"In one of these wings the windows were broken and blocked with wooden boards, while the roof was partly caved in, a picture of ruin...."
The family home, which is in a state of decay, metaphorically represents the dysfunction (decay) of the family that lives within.
The Adventure of the Speckled Band