Final answer:
To calculate the frequency of the dominant allele, subtract the frequency of the recessive allele from 1.
Step-by-step explanation:
To calculate the frequency of the dominant allele, you can use the Hardy-Weinberg formula. The formula is p² + 2pq + q² = 1, where p represents the frequency of one pair of alleles and q represents the frequency of the other pair of alleles.
So, if you have the frequency (q) of the recessive allele, you can calculate the frequency (p) of the dominant allele by subtracting q from 1.
For example, if the frequency of the recessive allele is 0.3, the frequency of the dominant allele would be 1 - 0.3 = 0.7.