Editing seurat object metatdata
1
0
Entering edit mode
5 months ago
Happiness • 0

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

this is the image of the cell ids that arent sorted

this is the image of the cell ids that are sorted

Above is the image of the the dataframe I created that is sorted.

Thank you

Seurat metadata scRNA-seq • 417 views
ADD COMMENT
0
Entering edit mode
5 months ago
Nat.Nataren ▴ 100

Can you show us some of the code you have tried? Are you trying to order by pseudotime for plotting purposes?

ADD COMMENT

Login before adding your answer.

Traffic: 2177 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6