How to realize the structure of graphene randomly modified by hydroxyl and carbonyl groups in MS

I want to do a system where graphene is doped into other polymers, but I don't know how to modify the unsaturated adsorption sites of graphene in proportion to the hydroxyl and carbonyl groups, so I would like to ask which method can solve this problem, by the way, how to determine the doping content? The graphene structure just like the picture .thank you