Loading a new HistoCAT Session with previous Phenographs/gates?

Looking for ways to analyze your dataset? Need help with a software package?
Computational image analysis of multiplexed Imaging Mass Cytometry acquisitions
Post Reply
julianolea
Posts: 1
Joined: Wed Oct 16, 2019 6:47 pm

Loading a new HistoCAT Session with previous Phenographs/gates?

Post by julianolea » Wed Oct 16, 2019 7:03 pm

Hello,

For some reason my HistoCAT session .mat file seems to no longer open when trying to load the session. I've attached the error readback from Matlab. Is there any way to repair the .mat file? If not, is there a way to load a new session using the previous phenograph cluster and gate .fcs files that are saved in the "custom_gates_0" folder? Or is there a way to figure out which parameters were used to generate the phenograph clusters based on the phenograph .fcs files from the "custom_gates_0 folder" (i.e. samples selected, channels selected, and seed used) in order to regenerate the clusters?

Best,
Julian


Matlab error:

>> cd C:\Users\Public\histoCAT-master\
addpath(genpath(pwd))
histoCAT
Warning: Unable to read some of the variables due to unknown MAT-file error.

> In matfinfo (line 9)
In finfo (line 118)
In importdata (line 135)
In Load_sessionData (line 36)
In gui_mainfcn (line 95)
In histoCAT (line 42)
In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)histoCAT('Load_sessionData',hObject,eventdata,guidata(hObject))
Warning: Unable to read some of the variables due to unknown MAT-file error.

> In importdata (line 198)
In Load_sessionData (line 36)
In gui_mainfcn (line 95)
In histoCAT (line 42)
In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)histoCAT('Load_sessionData',hObject,eventdata,guidata(hObject))
Error using load
Unknown text on line number 1 of ASCII file
C:\Users\Public\Julian\IMC_FINAL_ANALYSIS\Master.mat
"".

Error in importdata (line 209)
out = load('-ascii',FileName);

Error in Load_sessionData (line 36)
read_session = importdata(fullfile(path,matfile));

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in histoCAT (line 42)
gui_mainfcn(gui_State, varargin{:});

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)histoCAT('Load_sessionData',hObject,eventdata,guidata(hObject))
Error while evaluating Menu Callback.
Last edited by julianolea on Sat Oct 19, 2019 1:55 am, edited 1 time in total.
DenisSchapiro
Posts: 38
Joined: Wed Nov 29, 2017 11:34 am

Re: Loading a new HistoCAT Session with previous Phenographs/gates?

Post by DenisSchapiro » Wed Nov 06, 2019 9:49 pm

Dear Julian,

Would you mind sharing the .mat file with me via direct message?
Regarding the parameters: The "custom_gates_0" folder should include a txt file with all the requested parameters.

Best

Denis
Post Reply