forked from lawrennd/gpsim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgpnddisimDisplay.m
49 lines (42 loc) · 1.21 KB
/
gpnddisimDisplay.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
function gpnddisimDisplay(model, spaceNum)
% GPNDDISIMDISPLAY Display a Gaussian process model.
% FORMAT
% DESC displays in human readable form the contents of the GPNDDISIM
% model.
% ARG model : the model structure to be displaced.
% ARG spaceNum : number of spaces to place before displaying model
% structure.
%
% SEEALSO : gpnddisimCreate, modelDisplay.
%
% COPYRIGHT : Neil D. Lawrence, 2005, 2006
%
% COPYRIGHT : Antti Honkela, 2011
if nargin > 1
spacing = repmat(32, 1, spaceNum);
else
spaceNum = 0;
spacing = [];
end
spacing = char(spacing);
fprintf(spacing);
fprintf('Gaussian process non-decaying driving input single input motif model:\n')
fprintf(spacing);
fprintf(' Number of time points: %d\n', size(model.t, 1));
fprintf(spacing);
fprintf(' Number of genes: %d\n', model.numGenes);
fprintf(spacing);
fprintf(' SIM mean: %d\n', model.simMean);
fprintf(spacing);
fprintf(' DISIM start mean: %d\n', model.disimStartMean);
if any(model.mu~=0)
fprintf(spacing);
fprintf(' Output biases:\n');
for i = 1:length(model.B)
fprintf(spacing);
fprintf(' Basal transcription gene %d: %2.4f\n', i, model.B(i));
end
end
fprintf(spacing);
fprintf(' Kernel:\n')
kernDisplay(model.kern, 4+spaceNum);