Skip to content

Vignette Code ssc.run argument method.vgene: "sd" does not work #5

@eroellSTA426

Description

@eroellSTA426

Hi Japrin

When running your vignette, in the block #All in One: sce.Pollen <- ssc.run(sce.Pollen,method.vgene = "sd",sd.n = 1500,method.reduction = "pca",method.clust = "kmeans", k.batch=11,seed = 9997) yields the error message Error in ssc.reduceDim(obj, assay.name = assay.name, method = method.reduction, : No variable genes identified by method sd !

It could be solved by rewriting the argument value for method.vgene from "sd" to "HVG.sd", so running
sce.Pollen <- ssc.run(sce.Pollen,method.vgene = "HVG.sd",sd.n = 1500,method.reduction = "pca",method.clust = "kmeans", k.batch=11,seed = 9997)

which then works: this makes sense, as in the invoked ssc.variableGene method, the arguments can be one of "HVG.sd", "HVG.mean.sd", "HVG.trendVar" (but not "sd").

Is this the correct way of running this vignette?

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions