Cellcyclescoring did not work in Seurat V5
0
0
Entering edit mode
13 months ago
synat.keam ▴ 100

Dear All,

Not sure anyone has come across issue with cell cycle scoring in seurat recently.

data.filt<- NormalizeData(data.filt)

#Cell cycle  
data.filt<- CellCycleScoring(object = data.filt, g2m.features = cc.genes$g2m.genes, 
                             s.features = cc.genes$s.genes)

# Error I got

Error in `GetAssayData()`:
! GetAssayData doesn't work for multiple layers in v5 assay.
Backtrace:
 1. Seurat::CellCycleScoring(...)
 2. Seurat::AddModuleScore(...)
 4. SeuratObject:::GetAssayData.Seurat(...)
 6. SeuratObject:::GetAssayData.StdAssay(object = object[[assay]], layer = layer)
Error in GetAssayData(object = object[[assay]], layer = layer) :

Some people have encountered the same issues, but I did not see any solution that worked for me yet. Anyone know how to fix this, i really appreciated.

Kind Regards,
Synat

Seurat single-cell • 4.7k views
ADD COMMENT
3
Entering edit mode

You can try to merge the layer together with data.filt <- JoinLayers(data.filt)

ADD REPLY
0
Entering edit mode
ADD REPLY
0
Entering edit mode

Sorry, but this link doesn't work.

ADD REPLY

Login before adding your answer.

Traffic: 1693 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