DOC metrics and hierarchical clustering