A new working paper Genetic Associations with Mathematics Tracking and Persistence in Secondary School is discussed in a blog post:

Using Nature to Understand Nurture
by Alex Tabarrok
Marginal Revolution
April 8, 2019

An excellent new working paper uses genetic markers for educational attainment to track students through the high school math curriculum to better understand the role of nature, nurture and their interaction in math attainment. The paper begins with an earlier genome wide association study (GWAS) of 1.1 million people that found that a polygenic score could be used to (modestly) predict college completion rates. Panel (a) in the figure at right shows how college completion is five times higher in individuals with an education polygenic score (ed-PGS) in the highest quintile compared to individuals with scores in the lowest quintile; panel b shows that ed-PGS is at least as good as household income at predicting college attainment but not quite as good as knowing the educational level of the parents.

Of the million plus individuals with ed-PGS, some 3,635 came from European-heritage individuals who were entering US high school students in 1994-1995 (the Add Health sample). Harden, Domingue et al. take the ed-PGS of these individuals and match them up with data from their high school curricula and their student transcripts.

What they find is math attainment is a combination of nature and nurture. First, students with higher ed-PGS are more likely to be tracked into advanced math classes beginning in grade 9. (Higher ed-PGS scores are also associated with higher socio-economic status families and schools but these differences persist even after controlling for family and school SES or looking only at variation within schools.) Higher ed-PGS also predicts math persistence in the following years. The following diagram tracks high ed-PGS (blue) with lower ed-PGS (brown) over high school curricula/years and post high-school. Note that by grade 9 there is substantial tracking and some cross-over but mostly (it appears to me) in high-PGS students who fall off-track (note in particular the big drop off of blue students from Pre-Calculus to None in Grade 12).

...

***************************************************************

Public schools will be unlikely to use genetic markers to track students, but in a few years some parents may acquire and use such data.