Let's not confuse mental illness running in families with with a genetic predisposition. Families also pass on learned behaviors, many of which can be highly dysfunctional.
Teasing apart the "nature vs nurture" part is very problematic for this reason.
Their is a definite genetic component to mental illness. But it is only part of the puzzle.
I'll share more research based evidence later ...