-- DBMS: snowflake
create or replace TABLE IMAGING_LEVEL4_HMS_CRC_CURRENT (
	CELLID NUMBER(38,0),
	DNA_1 FLOAT,
	A488 FLOAT,
	A555 FLOAT,
	A647 FLOAT,
	DNA_2 FLOAT,
	CD3 FLOAT,
	CD11C FLOAT,
	GRANZYMEB FLOAT,
	DNA_3 FLOAT,
	KI67 FLOAT,
	PANCK FLOAT,
	CD45 FLOAT,
	DNA_4 FLOAT,
	CD11B FLOAT,
	CD68 FLOAT,
	CD14 FLOAT,
	DNA_5 FLOAT,
	CD163 FLOAT,
	FOXP3 FLOAT,
	CD8A FLOAT,
	DNA_6 FLOAT,
	CD15 FLOAT,
	CD44 FLOAT,
	PD_L1 FLOAT,
	DNA_7 FLOAT,
	CD4 FLOAT,
	P_TBK1 FLOAT,
	PD_1 FLOAT,
	DNA_8 FLOAT,
	CD57 FLOAT,
	HLA_DR FLOAT,
	LAG3 FLOAT,
	DNA_9 FLOAT,
	CD20 FLOAT,
	TIM3 FLOAT,
	HLA_A FLOAT,
	DNA_10 FLOAT,
	CD16 FLOAT,
	PSRC FLOAT,
	PSTAT1 FLOAT,
	DNA_11 FLOAT,
	CD24 FLOAT,
	DESMIN FLOAT,
	PDPN FLOAT,
	DNA_12 FLOAT,
	STING FLOAT,
	PRB FLOAT,
	PTYR FLOAT,
	X_CENTROID FLOAT,
	Y_CENTROID FLOAT,
	COLUMN_CENTROID FLOAT,
	ROW_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),
	HOECHST1 FLOAT,
	HOECHST2 FLOAT,
	NAKATPASE FLOAT,
	MCM6 FLOAT,
	P53 FLOAT,
	HOECHST3 FLOAT,
	PCNA FLOAT,
	SMA_1 FLOAT,
	HOECHST4 FLOAT,
	E_CAD FLOAT,
	SMA_2 FLOAT,
	VIMENTIN FLOAT,
	HOECHST5 FLOAT,
	EGFR FLOAT,
	CDX2 FLOAT,
	HOECHST6 FLOAT,
	PERK FLOAT,
	H3K27ME3 FLOAT,
	H3K27AC FLOAT,
	HOECHST7 FLOAT,
	BETA_CATENIN FLOAT,
	HOECHST8 FLOAT,
	N_CADHERIN FLOAT,
	H2AX FLOAT,
	ZEB1 FLOAT,
	HOECHST9 FLOAT,
	NESTIN FLOAT,
	CD31 FLOAT,
	HOECHST10 FLOAT,
	S100A FLOAT,
	GFAP FLOAT,
	IRF_1 FLOAT,
	HOECHST11 FLOAT,
	PS6_235 FLOAT,
	CPARP FLOAT,
	P21 FLOAT,
	HOECHST12 FLOAT,
	UNNAMED_46 FLOAT,
	KAP1 FLOAT,
	HOECHST13 FLOAT,
	FN3 FLOAT,
	VEGFR2 FLOAT,
	NGFR FLOAT
);

INSERT INTO "HTAN_2"."HTAN"."IMAGING_LEVEL4_HMS_CRC_CURRENT" (CD20, CD8A, HOECHST10, HTAN_DATA_FILE_ID, DNA_6, X_CENTROID, FN3, CD3, A555, H3K27AC, SOURCE_ENTITYID, CPARP, DNA_2, HTAN_CENTER, H3K27ME3, CD57, CD11B, HOECHST2, HOECHST13, DNA_10, HOECHST4, HLA_DR, CD15, DNA_9, KAP1, HOECHST3, NGFR, PRB, P_TBK1, DNA_4, HLA_A, CD11C, PERK, ECCENTRICITY, P53, PD_L1, DNA_12, LAG3, SMA_2, COLUMN_CENTROID, PSTAT1, HOECHST6, TIM3, NAKATPASE, ZEB1, A647, DNA_3, S100A, IRF_1, PD_1, STING, SOURCE_FILENAME, CD31, CD44, HOECHST1, CD45, AREA, HOECHST9, N_CADHERIN, GRANZYMEB, GFAP, CD4, DNA_5, PSRC, H2AX, CELLID, NESTIN, DNA_7, DNA_11, VEGFR2, SOLIDITY, DNA_8, P21, SMA_1, Y_CENTROID, EXTENT, CD24, EGFR, E_CAD, HOECHST12, HOECHST5, KI67, PDPN, HOECHST11, MINORAXISLENGTH, CDX2, ORIENTATION, HTAN_BIOSPECIMEN_ID, DNA_1, CD14, MCM6, DESMIN, MAJORAXISLENGTH, CD68, FOXP3, CD163, PS6_235, BETA_CATENIN, CD16, VIMENTIN, PCNA, PANCK, HOECHST7, PTYR, A488, UNNAMED_46, ROW_CENTROID, HOECHST8) VALUES (NULL, NULL, 35108.74637681159, 'HTA7_947_1011', NULL, 12098.347826086956, 2379.442028985507, NULL, 1458.376811594203, 8761.398550724638, 'syn36013976', 1066.1159420289855, NULL, 'HTAN HMS', 1498.4202898550725, NULL, NULL, 37534.84782608696, 31381.094202898552, NULL, 28373.144927536232, NULL, NULL, NULL, 2582.8478260869565, 27777.630434782608, 1923.7246376811595, NULL, NULL, NULL, NULL, NULL, 3198.210144927536, 0.2236645209696592, 10923.985507246376, 1352.5217391304348, NULL, NULL, 969.4057971014493, 12098.347826086956, NULL, 24203.884057971016, NULL, 12228.391304347826, 1329.608695652174, 1438.1014492753625, NULL, 8477.826086956522, 1384.0072463768115, NULL, NULL, 'unmicst-tnpcrc_06_cell.csv', 587.9202898550725, 781.2101449275362, 24880.58695652174, 1294.159420289855, 138, 35367.79710144927, 3201.7246376811595, NULL, 278.67391304347825, NULL, NULL, NULL, 1431.0797101449275, 107812, 3902.869565217392, NULL, NULL, 1282.4855072463768, 0.9517241379310344, NULL, 1382.0434782608695, 782.268115942029, 5188.891304347826, 0.6571428571428571, NULL, 3347.6014492753625, 6233.913043478261, 31681.985507246376, 27421.44927536232, 10325.09420289855, NULL, 28976.86231884058, 13.600220472199045, 770.1594202898551, -1.549571064394305, 'HTA7_947_4', NULL, NULL, 2211.188405797101, NULL, 13.95372139795508, 724.4710144927536, NULL, NULL, 3006.9927536231885, 4424.528985507246, NULL, 325.7463768115942, 7232.195652173913, 6263.478260869565, 30862.927536231884, NULL, 2930.1739130434785, 1015.0579710144928, 5188.891304347826, 36294.76811594203), (NULL, NULL, 216.7753623188406, 'HTA7_947_1011', NULL, 18102.91304347826, 1089.9347826086955, NULL, 2926.4347826086955, 307.4492753623188, 'syn36013976', 442.5579710144928, NULL, 'HTAN HMS', 341.7971014492754, NULL, NULL, 444.3623188405797, 405.8623188405797, NULL, 19455.442028985508, NULL, NULL, NULL, 381.4130434782609, 288.5, 924.3115942028984, NULL, NULL, NULL, NULL, NULL, 1229.3840579710145, 0.769012755038226, 807.536231884058, 1233.6159420289855, NULL, NULL, 633.536231884058, 18102.91304347826, NULL, 222.91304347826087, NULL, 1091.0797101449275, 1192.7536231884058, 2517.608695652174, NULL, 552.268115942029, 1177.6304347826087, NULL, NULL, 'unmicst-tnpcrc_06_cell.csv', 490.3550724637681, 248.0507246376812, 30500.920289855072, 1227.6884057971015, 138, 230.1014492753623, 1256.9927536231885, NULL, 200.231884057971, NULL, NULL, NULL, 245.57971014492756, 5189, 1440.7971014492753, NULL, NULL, 339.2028985507246, 0.9517241379310344, NULL, 880.9347826086956, 513.9565217391304, 1821.536231884058, 0.696969696969697, NULL, 902.0144927536232, 7643.108695652174, 214.7753623188406, 178.4855072463768, 271.6521739130435, NULL, 301.05797101449275, 10.62933028615177, 339.8623188405797, -0.1083134906895184, 'HTA7_947_4', NULL, NULL, 459.536231884058, NULL, 16.628245219991438, 414.1231884057971, NULL, NULL, 744.2391304347826, 1225.3115942028985, NULL, 973.9492753623188, 1461.8260869565215, 672.5289855072464, 247.81159420289856, NULL, 6667.079710144928, 464.27536231884056, 1821.536231884058, 186.58695652173915), (NULL, NULL, 16255.442028985508, 'HTA7_947_1011', NULL, 13671.028985507246, 1313.8695652173913, NULL, 1177.2971014492753, 9037.13768115942, 'syn36013976', 893.8623188405797, NULL, 'HTAN HMS', 1272.1521739130435, NULL, NULL, 19940.369565217392, 9014.021739130434, NULL, 16095.355072463768, NULL, NULL, NULL, 1097.4565217391305, 16188.021739130434, 1166.4202898550725, NULL, NULL, NULL, NULL, NULL, 2586.289855072464, 0.5870963928103267, 5583.869565217391, 1333.2898550724638, NULL, NULL, 465.1449275362319, 13671.028985507246, NULL, 13200.028985507246, NULL, 13646.782608695652, 1273.340579710145, 1141.4782608695652, NULL, 5238.847826086957, 1354.5434782608695, NULL, NULL, 'unmicst-tnpcrc_06_cell.csv', 529.2536231884058, 810.7391304347826, 11980.789855072464, 1228.536231884058, 138, 21298.17391304348, 2383.405797101449, NULL, 272.1304347826087, NULL, NULL, NULL, 488.0072463768116, 12545, 3157.253623188406, NULL, NULL, 738.5579710144928, 0.9517241379310344, NULL, 2250.586956521739, 662.2391304347826, 2072.304347826087, 0.7076923076923077, NULL, 3103.260869565217, 6612.739130434783, 13003.731884057972, 14927.282608695652, 2228.717391304348, NULL, 15484.659420289856, 12.136611951378065, 1122.2826086956522, 1.127802066984782, 'HTA7_947_4', NULL, NULL, 1986.1739130434785, NULL, 14.992410866534597, 708.5289855072464, NULL, NULL, 7105.666666666667, 4412.876811594203, NULL, 262.67391304347825, 2777.3478260869565, 9263.884057971014, 16544.007246376812, NULL, 2433.695652173913, 822.695652173913, 2072.304347826087, 15040.826086956522), (NULL, NULL, 16894.963768115944, 'HTA7_947_1011', NULL, 14712.304347826086, 1676.5289855072465, NULL, 1114.9130434782608, 9410.079710144928, 'syn36013976', 688.9057971014493, NULL, 'HTAN HMS', 677.5652173913044, NULL, NULL, 17952.91304347826, 3922.4057971014495, NULL, 14024.869565217392, NULL, NULL, NULL, 4188.507246376812, 13250.760869565218, 1259.2101449275362, NULL, NULL, NULL, NULL, NULL, 7612.355072463768, 0.5911458842143168, 2149.2246376811595, 1322.3623188405795, NULL, NULL, 724.1739130434783, 14712.304347826086, NULL, 12168.985507246376, NULL, 4682.420289855072, 1327.876811594203, 1067.6159420289855, NULL, 5054.623188405797, 1305.3985507246375, NULL, NULL, 'unmicst-tnpcrc_06_cell.csv', 815.3913043478261, 3124.478260869565, 14437.311594202898, 1385.1739130434785, 138, 20184.195652173912, 2075.036231884058, NULL, 208.44202898550725, NULL, NULL, NULL, 433.9855072463768, 80063, 2510.623188405797, NULL, NULL, 613.0507246376811, 0.9517241379310344, NULL, 1121.7391304347825, 929.9855072463768, 4280.210144927536, 0.7582417582417582, NULL, 1725.8840579710145, 3024.753623188406, 44027.5652173913, 13884.268115942028, 994.6304347826087, NULL, 13387.22463768116, 12.09286196631501, 486.0579710144928, 1.2209205064403168, 'HTA7_947_4', NULL, NULL, 864.4420289855072, NULL, 14.99304721966121, 558.6231884057971, NULL, NULL, 3346.195652173913, 2093.188405797101, NULL, 7804.050724637681, 1227.5579710144928, 1074.2173913043478, 15247.31884057971, NULL, 2490.115942028985, 1289.3478260869565, 4280.210144927536, 18204.152173913044), (NULL, NULL, 20487.6231884058, 'HTA7_947_1011', NULL, 11582.369565217392, 3951.9565217391305, NULL, 1187.4710144927535, 8399.920289855072, 'syn36013976', 725.8913043478261, NULL, 'HTAN HMS', 827.2391304347826, NULL, NULL, 20298.05797101449, 16450.195652173912, NULL, 18102.789855072464, NULL, NULL, NULL, 2204.768115942029, 16607.985507246376, 3083.188405797101, NULL, NULL, NULL, NULL, NULL, 2398.195652173913, 0.7817692001873726, 2416.413043478261, 1287.840579710145, NULL, NULL, 2322.282608695652, 11582.369565217392, NULL, 14463.463768115942, NULL, 3941.927536231884, 2639.2971014492755, 958.0652173913044, NULL, 4592.108695652174, 1269.1739130434785, NULL, NULL, 'unmicst-tnpcrc_06_cell.csv', 809.8623188405797, 714.268115942029, 15849.579710144928, 1224.0942028985507, 138, 20872.195652173912, 2574.855072463768, NULL, 243.3985507246377, NULL, NULL, NULL, 482.3043478260869, 64312, 2979.6014492753625, NULL, NULL, 1643.427536231884, 0.9517241379310344, NULL, 1386.0869565217392, 3617.268115942029, 3719.5, 0.6634615384615384, NULL, 1923.463768115942, 4074.5434782608695, 18631.869565217392, 16721.91304347826, 993.9057971014493, NULL, 18007.057971014492, 10.51888994918182, 540.7173913043479, 0.5954087177051659, 'HTA7_947_4', NULL, NULL, 875.3405797101449, NULL, 16.868876767181035, 630.4710144927536, NULL, NULL, 3302.115942028985, 2539.282608695652, NULL, 1025.7536231884058, 1659.3695652173913, 1150.9057971014493, 17754.318840579712, NULL, 2467.898550724637, 809.695652173913, 3719.5, 21608.17391304348);