public void Insert(FlowMarkerCollection panelMarkers, string reportNo) { foreach (FlowMarkerItem panelMarkerItem in panelMarkers) { FlowMarkerItem flowMarker = this.GetNextItem(reportNo, panelMarkerItem.Name); flowMarker.Intensity = panelMarkerItem.Intensity; flowMarker.Interpretation = panelMarkerItem.Interpretation; flowMarker.MarkerUsed = panelMarkerItem.MarkerUsed; this.Add(flowMarker); } }
public FlowMarkerCollection GetMarkerPanel(int cellPopulationId) { FlowMarkerCollection result = new FlowMarkerCollection(); foreach (FlowMarkerItem item in this) { if (item.CellPopulationId == cellPopulationId) { result.Add(item); } } return(result); }
public int CountOfCytoplasmicDups(FlowMarkerCollection flowMarkerCollection) { int count = 0; foreach (CytoplasmicMarkerMapping mapping in this) { if (flowMarkerCollection.Exists(mapping.RegularMarkerId) && flowMarkerCollection.Exists(mapping.CytoplasmicMarkerId) == true) { count += 1; } } return(count); }
public void Insert(FlowMarkerCollection panelMarkers, string reportNo, int cellPopulationId, string cellPopulationOfInterest, string panelName) { foreach (FlowMarkerItem panelMarkerItem in panelMarkers) { FlowMarkerItem flowMarker = this.GetNextItem(reportNo, panelMarkerItem.Name, cellPopulationId, cellPopulationOfInterest, panelName); flowMarker.Intensity = panelMarkerItem.Intensity; flowMarker.Interpretation = panelMarkerItem.Interpretation; flowMarker.MarkerUsed = panelMarkerItem.MarkerUsed; flowMarker.CellPopulationId = cellPopulationId; flowMarker.CellPopulationOfInterest = cellPopulationOfInterest; flowMarker.PanelName = panelName; this.Add(flowMarker); } this.SetCellPopulationsOfInterest(); }