Skip to content
Snippets Groups Projects
Commit c8ea9bf9 authored by Eric Wait's avatar Eric Wait
Browse files

Removed Mitosis Diamonds on Tree

parent 465222c0
Branches
Tags
No related merge requests found
...@@ -119,18 +119,18 @@ if(~isempty(CellTracks(trackID).childrenTracks)) ...@@ -119,18 +119,18 @@ if(~isempty(CellTracks(trackID).childrenTracks))
[phenoScratch labelHandles] = drawVerticalEdge(trackID,xCenter,phenoScratch); [phenoScratch labelHandles] = drawVerticalEdge(trackID,xCenter,phenoScratch);
diamondHandle = plot(xCenter,CellTracks(trackID).endTime+1,'d', ... % diamondHandle = plot(xCenter,CellTracks(trackID).endTime+1,'d', ...
'MarkerFaceColor', [.5 .5 .5],... % 'MarkerFaceColor', [.5 .5 .5],...
'MarkerEdgeColor', [0 0 0],... % 'MarkerEdgeColor', [0 0 0],...
'MarkerSize', 15,... % 'MarkerSize', 15,...
'ButtonDownFcn', @mitosisHandleDown); % 'ButtonDownFcn', @mitosisHandleDown);
mitosisHandles = struct('trackID', {trackID},... % mitosisHandles = struct('trackID', {trackID},...
'hLine', {hLine},... % 'hLine', {hLine},...
'child1Handles', {child1Handles},... % 'child1Handles', {child1Handles},...
'child2Handles', {child2Handles},... % 'child2Handles', {child2Handles},...
'diamondHandle', {diamondHandle}); % 'diamondHandle', {diamondHandle});
%
set(diamondHandle, 'UserData', mitosisHandles); % set(diamondHandle, 'UserData', mitosisHandles);
else else
%This is when the edge is for a leaf node %This is when the edge is for a leaf node
[phenoScratch labelHandles] = drawVerticalEdge(trackID,initXmin,phenoScratch); [phenoScratch labelHandles] = drawVerticalEdge(trackID,initXmin,phenoScratch);
......
...@@ -280,7 +280,7 @@ global Figures CellTracks; ...@@ -280,7 +280,7 @@ global Figures CellTracks;
previousMitosisTime = get(mitosisHandle.hLine, 'YData'); previousMitosisTime = get(mitosisHandle.hLine, 'YData');
set(mitosisHandle.hLine, 'YData', [Y Y]); set(mitosisHandle.hLine, 'YData', [Y Y]);
set(mitosisHandle.diamondHandle, 'YData', Y+1); % set(mitosisHandle.diamondHandle, 'YData', Y+1);
set(mitosisHandle.child1Handles(1), 'YData', Y+1); set(mitosisHandle.child1Handles(1), 'YData', Y+1);
text1 = get(mitosisHandle.child1Handles(2), 'Position'); text1 = get(mitosisHandle.child1Handles(2), 'Position');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment