My mom just lashed out on me

Hi guys this is my first time posting here but I need some advice, I am a 18 year old I am leaving in my house that until I leave for uni but lately she have been coming into my space alot and I always feel scared to tell how much I don't like people in my space today she came into my bathroom to wash her hand and I asked her calmly why she washing her hand here she just started saying that I have no right to ask her that and I was trying to explain its just a question that I am trying to did something happened to her sink then she started shouting that I am a bad person for saying so and I am arrogant and ignorant and that I will know how it feel when my children does same to me I was shocked when she said all that cause I was like where is all this coming from but I didn't argue or say anything back I went back to my room then later since I didn't want her to sleep and wake up on that anger I decided I was going to try to explain to her that I didn't mean to hurt her but I was only trying to understand why she came into my room to wash her hand and I also very much like my space and I don't like when people are in space too much and it wasn't her fault or is not that I hate I don't like when anyone is in my space too much generally she didn't even acknowledge me she didn't raise her hand act like I wasn't there was pressing her phone I had to call her multiple time for her to now respond to me and said that I can't be talking to her like that that me I come into her room and go around in the house everytime but she have never told me that and that how dare I tell her that after all the sacrifice she had made for me putting my needs before hers how dare I come to her and say that and that is it before she die I will know her value that all she have done for me her mom have never done for her" I was really shocked while she was saying all that cause I didn't understand how is me needing my space have to do with how much sacrifice she have done for me before I was even born then she told I should change my attitude and that whatever you do on this earth we will always pay and I should stop saying things like me needing my privacy or my space and that when my friend come to visit me don't they enter my room but for me that not the point I don't entertain my friend when they come neither do they drained me out and I don't have to be talking and responding to them 24h/7, sometimes I feel like she expecting me to give her the love her mother didn't give her so I really don't know what to do anymore she always says this is her house and she can do whatever she want in it and go wherever she pleases and the only time I am trying to explain to her I need my space she lash out I am really tired honestly