-- DBMS: snowflake
create or replace TABLE IMAGING_LEVEL4_TNP_TMA_PHASE1_CURRENT (
	CELLID NUMBER(38,0),
	DNA FLOAT,
	AUTOFLUORESCENCE_488NM FLOAT,
	AUTOFLUORESCENCE_555NM FLOAT,
	AUTOFLUORESCENCE_647NM FLOAT,
	DNA_2 FLOAT,
	CONTROL_488NM FLOAT,
	CONTROL_555NM FLOAT,
	CONTROL_647NM FLOAT,
	DNA_3 FLOAT,
	CD3 FLOAT,
	ERK_1_PT202_PY204 FLOAT,
	HRAD51 FLOAT,
	DNA_4 FLOAT,
	G1_S_SPECIFIC_CYCLIN_D1 FLOAT,
	VIMENTIN FLOAT,
	AORTIC_SMOOTH_MUSCLE_ACTIN FLOAT,
	DNA_5 FLOAT,
	E_CADHERIN FLOAT,
	ER FLOAT,
	PR FLOAT,
	DNA_6 FLOAT,
	EPIDERMAL_GROWTH_FACTOR_RECEPTOR FLOAT,
	RB_PS807_PS811 FLOAT,
	HER2 FLOAT,
	DNA_7 FLOAT,
	ANTIGEN_KI67 FLOAT,
	CD45 FLOAT,
	P21 FLOAT,
	DNA_8 FLOAT,
	CK_14 FLOAT,
	CK_19 FLOAT,
	CK_17 FLOAT,
	DNA_9 FLOAT,
	LAMIN_A_B_C FLOAT,
	ANDROGEN_RECEPTOR FLOAT,
	HISTONE_H2AX FLOAT,
	DNA_10 FLOAT,
	PCNA FLOAT,
	PAN_CYTOKERATIN FLOAT,
	CD31 FLOAT,
	X_CENTROID FLOAT,
	Y_CENTROID FLOAT,
	AREA NUMBER(38,0),
	MAJORAXISLENGTH FLOAT,
	MINORAXISLENGTH FLOAT,
	ECCENTRICITY FLOAT,
	SOLIDITY FLOAT,
	EXTENT FLOAT,
	ORIENTATION FLOAT,
	SOURCE_FILENAME VARCHAR(16777216),
	SOURCE_ENTITYID VARCHAR(16777216),
	HTAN_CENTER VARCHAR(16777216),
	HTAN_DATA_FILE_ID VARCHAR(16777216),
	HTAN_BIOSPECIMEN_ID VARCHAR(16777216),
	PD_L1_SP142 FLOAT,
	GRANZYME_B FLOAT,
	CD68 FLOAT,
	CD3D FLOAT,
	CD8A FLOAT,
	CD163 FLOAT,
	CD14 FLOAT,
	CD4 FLOAT,
	FOXP3 FLOAT,
	PD_L1_E1L3N FLOAT,
	CD11B FLOAT,
	PD_1 FLOAT,
	PD_L1_28_8 FLOAT,
	LAG_3 FLOAT,
	CD20 FLOAT,
	HLA_A FLOAT,
	MHC_CLASS_II_ANTIGEN_DPB1 FLOAT
);

INSERT INTO "HTAN_2"."HTAN"."IMAGING_LEVEL4_TNP_TMA_PHASE1_CURRENT" (CD11B, SOURCE_ENTITYID, CD8A, CD4, CD20, DNA_8, AUTOFLUORESCENCE_647NM, PD_L1_28_8, GRANZYME_B, CD31, LAG_3, ECCENTRICITY, ANDROGEN_RECEPTOR, PD_L1_SP142, MHC_CLASS_II_ANTIGEN_DPB1, AUTOFLUORESCENCE_555NM, SOURCE_FILENAME, DNA_5, DNA, VIMENTIN, EPIDERMAL_GROWTH_FACTOR_RECEPTOR, HISTONE_H2AX, CK_14, E_CADHERIN, PD_1, ER, HTAN_DATA_FILE_ID, G1_S_SPECIFIC_CYCLIN_D1, CK_19, MAJORAXISLENGTH, X_CENTROID, LAMIN_A_B_C, DNA_6, PR, DNA_4, CD14, DNA_2, AUTOFLUORESCENCE_488NM, PAN_CYTOKERATIN, CONTROL_488NM, PCNA, ERK_1_PT202_PY204, MINORAXISLENGTH, CELLID, CD3D, HTAN_CENTER, Y_CENTROID, HRAD51, DNA_9, EXTENT, CD45, HLA_A, PD_L1_E1L3N, SOLIDITY, FOXP3, CD68, AREA, HTAN_BIOSPECIMEN_ID, P21, AORTIC_SMOOTH_MUSCLE_ACTIN, CD163, RB_PS807_PS811, CD3, ANTIGEN_KI67, CK_17, DNA_10, DNA_3, CONTROL_647NM, DNA_7, ORIENTATION, HER2, CONTROL_555NM) VALUES (NULL, 'syn52044408', NULL, NULL, NULL, 14737.075949367088, 379.1044303797468, NULL, NULL, 1438.9430379746836, NULL, 0.6435399648237655, 557.3575949367089, NULL, NULL, 241.2373417721519, 'OHSU_TMA1_004-B11_OHSU_TMA1_004-B11-cellRingMask.csv', 14672.221518987342, 16748.522151898735, 1063.6012658227849, 2439.3829113924053, 1277.268987341772, 3039.8670886075947, 3097.43670886076, NULL, 9362.12341772152, 'HTA14_21_1035', 12736.588607594937, 861.3639240506329, 23.0829970214288, 1088.3069620253164, 12982.582278481012, 18560.050632911392, 1144.6455696202531, 18183.07594936709, NULL, 10564.95253164557, 1012.8386075949368, 2274.746835443038, 2092.908227848101, 12078.39240506329, 57987.87658227848, 17.66801473689918, 151515, NULL, 'HTAN TNP - TMA', 1112.737341772152, 10915.34493670886, 3935.6962025316457, 0.7181818181818181, 742.2816455696203, NULL, NULL, 0.9461077844311376, NULL, NULL, 316, 'HTA14_21_11', 1180.5759493670887, 887.7594936708861, NULL, 1355.382911392405, 3680.037974683544, 10901.664556962023, 1801.746835443038, 4297.946202531645, 26138.16139240506, 1158.2025316455697, 10127.737341772152, -0.6148398795016411, 2981.854430379746, 390.43037974683546), (NULL, 'syn52044408', NULL, NULL, NULL, 18037.897637795275, 434.07086614173227, NULL, NULL, 1472.8779527559054, NULL, 0.60768666046549, 655.1102362204724, NULL, NULL, 587.8582677165355, 'OHSU_TMA1_004-B11_OHSU_TMA1_004-B11-cellRingMask.csv', 11802.27559055118, 15511.01968503937, 1458.6338582677165, 1934.452755905512, 1296.0826771653544, 3370.9251968503936, 2198.4251968503936, NULL, 12803.129921259842, 'HTA14_21_1035', 11131.976377952757, 938.6889763779528, 20.26079719909004, 2219.212598425197, 9692.57874015748, 18190.70472440945, 1024.783464566929, 14002.602362204723, NULL, 9098.602362204723, 950.2874015748032, 1101.2952755905512, 1366.5866141732283, 9047.964566929131, 62016.39763779528, 16.090656781984464, 192910, NULL, 'HTAN TNP - TMA', 1967.240157480315, 20905.535433070865, 4864.692913385827, 0.7426900584795322, 1121.8346456692914, NULL, NULL, 0.9407407407407408, NULL, NULL, 254, 'HTA14_21_11', 1115.1496062992126, 1158.267716535433, NULL, 1460.4291338582675, 3021.2086614173227, 15663.125984251968, 1435.992125984252, 6562.86220472441, 22761.65354330709, 823.2795275590552, 12712.807086614172, 0.6252174218100938, 2876.944881889764, 588.996062992126), (NULL, 'syn52044408', NULL, NULL, NULL, 16691.46153846154, 390.6442307692308, NULL, NULL, 1479.9807692307693, NULL, 0.7635132363494528, 605.4326923076923, NULL, NULL, 242.28846153846155, 'OHSU_TMA1_004-B11_OHSU_TMA1_004-B11-cellRingMask.csv', 15221.91346153846, 21042.346153846152, 944.0192307692308, 2700.375, 1408.5, 3376.192307692308, 3175.75, NULL, 9536.701923076924, 'HTA14_21_1035', 16735.076923076922, 714.0480769230769, 14.489897433203115, 1567.5192307692307, 8522.365384615385, 23253.92307692308, 1457.25, 20549.45192307692, NULL, 10629.83653846154, 1058.3173076923076, 1633.2692307692307, 2287.971153846154, 17122.923076923078, 65066.980769230766, 9.357462430834785, 130220, NULL, 'HTAN TNP - TMA', 412.47115384615387, 15638.278846153846, 4140.8557692307695, 0.6753246753246753, 800.0769230769231, NULL, NULL, 0.896551724137931, NULL, NULL, 104, 'HTA14_21_11', 1346.951923076923, 877.1634615384615, NULL, 1355.9326923076924, 3463.105769230769, 6996.201923076923, 2901.9903846153848, 4584.326923076923, 30036.29807692308, 1405.6923076923076, 14125.346153846154, 0.1846130179539149, 3920.480769230769, 399.4230769230769), (NULL, 'syn52044408', NULL, NULL, NULL, 35157.43243243243, 378.5675675675676, NULL, NULL, 1405.2162162162165, NULL, 0.8923986782348087, 522.0540540540541, NULL, NULL, 255.66216216216216, 'OHSU_TMA1_004-B11_OHSU_TMA1_004-B11-cellRingMask.csv', 29062.68918918919, 33441.08108108108, 729.0135135135135, 2669.837837837838, 3323.324324324324, 3927.324324324324, 2723.5810810810813, NULL, 11229.148648648648, 'HTA14_21_1035', 10877.608108108108, 1126.337837837838, 15.14618454179657, 1135.2297297297298, 9464.351351351352, 37477.77027027027, 987.2027027027028, 35455.44594594595, NULL, 20672.027027027027, 1110.945945945946, 867.6216216216217, 2101.1486486486488, 14018.45945945946, 47003.58108108108, 6.834682823437341, 178601, NULL, 'HTAN TNP - TMA', 1702.7972972972973, 11789.432432432432, 9742.95945945946, 0.5285714285714286, 968.2972972972972, NULL, NULL, 0.902439024390244, NULL, NULL, 74, 'HTA14_21_11', 1670.108108108108, 1035.6756756756756, NULL, 1955.283783783784, 3966.2027027027034, 29782.486486486487, 1822.8243243243244, 15206.162162162162, 39323.35135135135, 1070.7162162162165, 31497.67567567568, 0.5395897410606026, 2830.324324324324, 386.5810810810811), (NULL, 'syn52044408', NULL, NULL, NULL, 774.7446808510638, 451.806146572104, NULL, NULL, 1232.354609929078, NULL, 0.4777165567754027, 260.9290780141844, NULL, NULL, 656.6312056737588, 'OHSU_TMA1_004-B11_OHSU_TMA1_004-B11-cellRingMask.csv', 7467.536643026005, 15120.943262411349, 1133.6359338061466, 1338.3687943262412, 808.5933806146572, 962.872340425532, 1624.93853427896, NULL, 5714.172576832151, 'HTA14_21_1035', 3113.0543735224587, 890.1867612293145, 24.80974727941093, 1003.7021276595744, 1256.6926713947992, 6549.884160756501, 411.8510638297872, 10346.44208037825, NULL, 7919.489361702128, 922.2104018912528, 976.550827423168, 1365.1347517730496, 1839.8274231678488, 4951.075650118203, 21.79571093123253, 211851, NULL, 'HTAN TNP - TMA', 2440.293144208038, 7339.423167848699, 434.6997635933806, 0.7996219281663516, 487.612293144208, NULL, NULL, 0.9570135746606336, NULL, NULL, 423, 'HTA14_21_11', 628.7966903073286, 508.0992907801418, NULL, 1403.8912529550828, 2795.323877068558, 1017.5248226950356, 598.4113475177305, 353.1962174940898, 18163.16548463357, 740.387706855792, 1552.6170212765958, -0.7580286826124205, 669.9125295508275, 703.2600472813239);