diffcyt icon indicating copy to clipboard operation
diffcyt copied to clipboard

Error plotting heatmap

Open tammyyyx opened this issue 5 years ago • 3 comments

Hi Dr. Weber,

Thanks for the awesome package! My data file is too big to use the built-in plotHeatmap function so I tried the plotDiffHeatMap from the Catalyst package, but got this error message "plotDiffHeatmap(out_DA$d_se, out_DA$res) Error in .check_sce(u$x, TRUE) : is(x, "SingleCellExperiment") is not TRUE"

The same error occurs when I apply the exact example codes from your diffcyt workflow on the exact sample dataset.

Could you help me with the problem? Is it because the package got updated? Thanks so much!

Regards,

Tammy

tammyyyx avatar Aug 31 '20 07:08 tammyyyx

Hi @tammyyyx in the latest CATALYST (not sure what version you have, better to post your sessionInfo()), the first argument is the original SingleCellExperiment, the second argument is rowData(out_DA$res). You can follow the updated vignette here http://bioconductor.org/packages/release/bioc/vignettes/CATALYST/inst/doc/differential.html#plotdiffheatmap-heatmap-of-differential-testing-results

sorjuela avatar Aug 31 '20 07:08 sorjuela

Hi @tammyyyx , yes I believe we made some updates that may have affected this.

Are you using the latest versions of diffcyt and CATALYST from Bioconductor? (Bioconductor 3.11, diffcyt 1.8.8, CATALYST 1.12.2). If not, I recommend updating to the latest versions.

lmweber avatar Aug 31 '20 13:08 lmweber

Hi @lmweber,

I did update all packages but still got the same error message and hence the confusion. This happens with the example code and data from the diffcyt workflow.

Thanks for your time!

Tammy

tammyyyx avatar Sep 02 '20 14:09 tammyyyx