She feels that she's above you in the pecking order. I'd try putting her on your lap and hold her there, even if she's trying to get down, then pet her a bit. She will probably hate this, but make her stay and put up with it. It will be a subtle way for you to assert your dominance over her and move yourself up in the pecking order.
My alpha hen likes to come up and peck me to assert herself. I'm talking about the "grab hard and twist your skin, trying to tear flesh" kind of peck. Not the curious friendly chicken peck. Whenever she does this I put my hand on her back. She tries to get it off without running away, because if she runs she is not the alpha, but I will pet her and keep my hand on her back until she leaves. Usually doing this once or twice stops the pecking for the day.
You just need to show her that you are the boss, and whatever you say goes.