There is no such thing as a subproject in OmniFocus. OmniFocus does have the notion of folders, which can contain projects, or task groups, which are tasks that contain other tasks.
Colloquially, I read people discussing projects and subprojects in OmniFocus. It turns out that the thing that looks like a sub-project is properly called an “action group.” It appears that what I’ll need to do is to turn my project into an action group and then add the action group to the other project.