BodenmillerGroup / IMCDataAnalysis

R based workflow for multiplexed imaging data
https://bodenmillergroup.github.io/IMCDataAnalysis/
MIT License
29 stars 11 forks source link

Rphenograph clustering codes not working #54

Closed zoqaiyum closed 1 year ago

zoqaiyum commented 1 year ago

Hi @nilseling

I created an "sce" object for my images and masks and now I am following this protocol (https://bodenmillergroup.github.io/IMCDataAnalysis/cell-phenotyping.html#clustering) to perform clustering using Rphenograph (section 9.2.1).

Using your code, I simply replaced "spe" to "sce" since my object is a single class experiment object but I am getting the following error:

Screenshot 2023-04-21 at 3 35 45 PM

It appears that there is no "exprs" in my sce object. How should I proceed?

Many thanks.

nilseling commented 1 year ago

Please read through one of the earlier sections on data transformation: https://bodenmillergroup.github.io/IMCDataAnalysis/read-data.html