In a Chi square test of a genetic cross there are n different phenotypic classes in the offspring. What is the value for the degrees of freedom for the test?

n

n - 1

n + 1

n2

None of the above

n - 1