This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error while converting ExpressionSet format to SingleCellExperiment format?

I encountered an error while trying to convert one ExpressionSet to SingleCellExperiment. I used the function of toSingleCellExperiment from Scater, however it gave me the error as below:

scRNAseq.sce <- toSingleCellExperiment(SCEset)
Error in toSingleCellExperiment(scRNAseq.eset) :
methods::is(object, "SCESet") is not TRUE

Any ideas or suggestions? Thanks!

singlecellexperiment expressionset r

What is the output of class(SCEset)?

Here is the output:

[1] "ExpressionSet"
attr(,"package")
[1] "Biobase"

1 answer

Actually figured it out by myself. You just need to convert ExpressionSet to SummarizedExperiment format first, then convert SummarizedExperiment to SingleCellExperiment.

Please accept your own answer to resolve the post.

Log in to answer this question.