<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setXr(self, Xr):
 """ set genotype data of the set component """

        self.Xr = Xr
        self.gp_block.covar.G = Xr