Understanding disease processes by partitioned dynamic Bayesian networks