dipper.models.Family module

class dipper.models.Family.Family(graph)

Bases: object

Model mereological/part whole relationships

Although these relations are more abstract, we often use them to model family relationships (proteins, humans, etc.) The naming of this class may change in the future to better reflect the meaning of the relations it is modeling

addMember(group_id, member_id, group_category=None, member_category=None)
addMemberOf(member_id, group_id, member_category=None, group_category=None)