I have a Seurat object called test_seurat
and I would like to sort this object based on the pseudotime which is a column title p3.pseudotime
. This will automatically rearrange the cell id, and other columns. I created a dataframe out of this Seurat object sorted_df
where the information is sorted. However I am currently trying to use this sorted dataframe to adjust the one in the Seurat object but I keep running into issues. Can anyone help me out.
This is the image of the Seurat object metadata that isn't sorted
Above is the image of the the dataframe I created that is sorted.
Thank you