The degree of functions in the Johnson and q-Johnson schemes | Synapse