I am trying to assign cell-cycle scores to the cells in my scRNA-seq dataset, but I am having problems with the CellCycleScoring() function in Seurat. I am working with zebrafish cells, so I cannot use the stock cc.genes list that is available in seurat. therefore I made my own list and followed the rest of the instructions in the vignette.
I made a vector zfcc.genes and split it into two other vectors:
zfs.genes
zfg2m.genes
When I run my command:
zf_cells <- CellCycleScoring(object = zf_cells, s.genes = zfs.genes, g2m.genes = zfg2m.genes, set.ident = TRUE)
I get this series of errors:
Error in AddModuleScore(object = object, genes.list = genes.list, enrich.name = enrich.name, :
The following gene lists do not have enough genes present in the object: S.Score exiting...The following gene lists do not have enough genes present in the object: G2M.Score exiting...
In addition: Warning message:
In AddModuleScore(object = object, genes.list = genes.list, enrich.name = enrich.name, :
Could not find enough genes in the object from the following gene lists: S.Score Attempting to match case...Could not find enough genes in the object from the following gene lists: G2M.Score Attempting to match case...
The list of genes I made is slightly shorter than the one provided with seurat. By about 4 genes. Is it really looking for the exact number of genes in the stock list? I don't see why this would be the case. Shouldn't you be able to build your own list of genes? I think I'm misunderstanding the problem.
seurat
rna-seq
r