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);
     }
 }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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();
 }