Alex, not metaphorical usage according to the Oxford, not even an example of something along the lines of a "murder of crows" or a "parliament of owls". A "race of learned men" was cited as an example of "race" as a set or class of persons (1500).