def setUp(self): super().setUp() self.op = flow.PCAOp(name = "PCA", channels = ["V2-A", "V2-H", "Y2-A", "Y2-H"], scale = {"V2-A" : "log", "V2-H" : "log", "Y2-A" : "log", "Y2-H" : "log"}, num_components = 2)
def setUp(self): self.cwd = os.path.dirname(os.path.abspath(__file__)) + "/data/Plate01/" tube1 = flow.Tube(file = self.cwd + 'RFP_Well_A3.fcs', conditions = {"Dox" : 10.0}) tube2 = flow.Tube(file= self.cwd + 'CFP_Well_A4.fcs', conditions = {"Dox" : 1.0}) import_op = flow.ImportOp(conditions = {"Dox" : "float"}, tubes = [tube1, tube2]) self.ex = import_op.apply() self.op = flow.PCAOp(name = "PCA", channels = ["V2-A", "V2-H", "Y2-A", "Y2-H"], scale = {"V2-A" : "log", "V2-H" : "log", "Y2-A" : "log", "Y2-H" : "log"}, num_components = 2)