Are depression and anxiety genetically inherited?

My grandma had depression her entire life. Are my brother and I predisposed?