Hello, I want to store my umap coordinates in my seurat objects meta.data. The umap coordinates are saved in my Object under reductions in cell.embeddings. How would I add this to the meta.data? I tried running
AD007[["coordinates"]]<--AD007@reductions$umap@cell.embeddings
I keep getting the error-- Error: Cannot add more or fewer cell meta.data information without values being named with cell names. Any suggestions? Thanks!
Thank you for your help. Just a follow up question how do I add PC to the meta.data (sorry I am new to coding). Thank you!
Check the edited answer