sscClust icon indicating copy to clipboard operation
sscClust copied to clipboard

perform "str(metadata(sce.Pollen)$ssc$variable.gene$sd) " got "NULL"

Open dreamlovesft opened this issue 5 years ago • 1 comments

Hi, Japrini I am a fresh man of R language . And i performed the codes following your guide, but i got NULL instead of chr [1:1500] "G5596" "G945" "G244" "G496" "G3558" "G5598" "G1909..." when i visualize the variable gene selection in part:

sce.Pollen <- ssc.variableGene(sce.Pollen,method="sd",sd.n=1500) str(metadata(sce.Pollen)$ssc$variable.gene$sd)

Could you give me some suggestions? Thanka a lot!

dreamlovesft avatar Nov 22 '19 13:11 dreamlovesft

Hi, dreamlovesft,

I think the problem is that in the recent implementation, variable genes are not stored in metadata(sce.Pollen) any more. Instead, you can find variable gene in rowData(sce.Pollen). I should re-compile the vignette. Sorry for the inconvinience!

Best Regards

Japrin avatar Dec 02 '19 14:12 Japrin