예제 #1
0
 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);
     }
 }
예제 #2
0
        public FlowMarkerCollection GetMarkerPanel(int cellPopulationId)
        {
            FlowMarkerCollection result = new FlowMarkerCollection();

            foreach (FlowMarkerItem item in this)
            {
                if (item.CellPopulationId == cellPopulationId)
                {
                    result.Add(item);
                }
            }
            return(result);
        }
예제 #3
0
        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);
        }
예제 #4
0
 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();
 }