I have recently had breast surgery, removal of calcium deposits with cancer cells?

Hi, I have recently had breast surgery, removal of calcium deposits with cancer cells. I have recently found out that a magnesium deficiency can contribute to these calcium deposits, would it be wise to take a magnesium supplement after I have had my radiotherapy. I wasn’t on any medication before this and I don’t know yet what I will be on after radiotherapy. I have tried to add more magnesium in my diet already.
Thank you.