Diplodocus is both the type genus of, and gives its name to, the Diplodocidae, the family to which it belongs [REF].
A subfamily, the Diplodocinae, was erected to include Diplodocus and its closest relatives, including Barosaurus.