More correctly, set the pointer reference, default is .GlobalEnv
envExp(x) <- value
x
an ORFik experiment
experiment
value
environment pointer to assign to experiment
an ORFik experiment with updated environment