-- DBMS: bigquery
CREATE TABLE `isb-cgc-bq.HTAN_versioned.imaging_level4_OHSU_r5`
(
  CellID INT64 OPTIONS(description="Unique cell identifier in a specific image"),
  DNA1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  goat_anti_rabbit FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  A555 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  donkey_anti_mouse FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  DNA2 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  pERK FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  pERK_555 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Rad51 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  DNA3 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CCND1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Vimentin FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  aSMA FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  DNA4 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Ecad FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  ER FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PR FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  DNA5 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  EGFR FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  pRB FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD45 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  DNA6 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Ki67 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CK19 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  p21 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  DNA7 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CK14 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  AR FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  cPARP FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  DNA8 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CK17 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CK7 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  HER2 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  X_centroid FLOAT64 OPTIONS(description="X-position of the centroid calculated as the center of mass of the cell."),
  Y_centroid FLOAT64 OPTIONS(description="Y-position of the centroid calculated as the center of mass of the cell."),
  Area INT64 OPTIONS(description="Actual number of pixels in the region, returned as a scalar."),
  MajorAxisLength FLOAT64 OPTIONS(description="Length (in pixels) of the major axis of the ellipse that has the same normalized second central moments as the region, returned as a scalar."),
  MinorAxisLength FLOAT64 OPTIONS(description="Length (in pixels) of the minor axis of the ellipse that has the same normalized second central moments as the region, returned as a scalar."),
  Eccentricity FLOAT64 OPTIONS(description="Eccentricity of the ellipse that has the same second-moments as the region, returned as a scalar. The eccentricity is the ratio of the distance between the foci of the ellipse and its major axis length. The value is between 0 and 1. (0 and 1 are degenerate cases. An ellipse whose eccentricity is 0 is actually a circle, while an ellipse whose eccentricity is 1 is a line segment.)"),
  Solidity FLOAT64 OPTIONS(description="Proportion of the pixels in the convex hull that are also in the region, returned as a scalar. Computed as Area/ConvexArea."),
  Extent FLOAT64 OPTIONS(description="Ratio of pixels in the region to pixels in the total bounding box, returned as a scalar. Computed as the Area divided by the area of the bounding box."),
  Orientation FLOAT64 OPTIONS(description="Angle between the x-axis and the major axis of the ellipse that has the same second-moments as the region, returned as a scalar. The value is in degrees, ranging from −90 degrees to 90 degrees."),
  Source_filename STRING OPTIONS(description="Name of file record was derived from"),
  Source_entityId STRING OPTIONS(description="Synapse ID of source file"),
  HTAN_Center STRING OPTIONS(description="Name of HTAN Center e.g. HTAN HTAPP"),
  HTAN_Data_File_ID STRING OPTIONS(description="Self-identifier for this data file - HTAN ID of this file HTAN ID SOP (eg HTANx_yyy_zzz)"),
  HTAN_Biospecimen_ID STRING OPTIONS(description="HTAN ID associated with a biosample based on HTAN ID SOP (eg HTANx_yyy_zzz)"),
  LAG3 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  LAG3_555 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  GranB FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Pan_CK FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD68 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD3d FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD8a FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD163 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD14 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD4 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  FOXP3 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PD_L1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD11b FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PD_1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD45RO FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  HLAA FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD20 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Hoechst1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  AF488 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  AF555 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  AF647 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Hoechst2 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  `A488 d_a_rat` FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  `A555 d_a_rabbit` FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  `A647 d_a_mouse` FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Hoechst3 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD3 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Hoechst4 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Hoechst5 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Hoechst6 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Hoechst7 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Hoechst8 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Hoechst9 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  LaminABC FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  H2Ax FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  Hoechst10 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PCNA FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PanCK FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD31 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PD_L1__SP142_ FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  `PD_L1 _E1L3N_` FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PD1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  `PD_L1 _28_8_` FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  HLA_DPB1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  A488 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  A647 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  LAG_3 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD45R FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD3_Rat_ FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD11c FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PDL1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD57 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PD_L1_ FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  HLA_DR FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD15 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD44 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PDPN FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  PolICTD FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  p53 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  SMA FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  LaminA_C FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CK5 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  ZEB1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  pH3 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CK18 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  TMEM173 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  pTBK1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  pSTAT3 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD45_1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD16 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  IBA1 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  CD45_2 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  anti_Goat FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  anti_Rabbit FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  anti_Mouse FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  `Cytochrome C` FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  NKP46 FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker"),
  GZMB FLOAT64 OPTIONS(description="Mean intensity of pixels for specified marker")
)
OPTIONS(
  friendly_name="HTAN OHSU IMAGING LEVEL 4 DATA R5 VERSIONED",
  description="Data was derived in April 2024 from 120 Imaging Level 4 csv files submitted by the OHSU HTAN center. For more information, see https://www.sciencedirect.com/science/article/pii/S2666379122000258?via%3Dihub",
  labels=[("access", "open"), ("data_type", "cell_spatial_characterization"), ("program", "htan"), ("source", "htan-ohsu"), ("category", "processed_-omics_data"), ("status", "current")]
);

INSERT INTO `isb-cgc-bq.HTAN_versioned.imaging_level4_OHSU_r5` (CellID, DNA1, goat_anti_rabbit, A555, donkey_anti_mouse, DNA2, pERK, pERK_555, Rad51, DNA3, CCND1, Vimentin, aSMA, DNA4, Ecad, ER, PR, DNA5, EGFR, pRB, CD45, DNA6, Ki67, CK19, p21, DNA7, CK14, AR, cPARP, DNA8, CK17, CK7, HER2, X_centroid, Y_centroid, Area, MajorAxisLength, MinorAxisLength, Eccentricity, Solidity, Extent, Orientation, Source_filename, Source_entityId, HTAN_Center, HTAN_Data_File_ID, HTAN_Biospecimen_ID, LAG3, LAG3_555, GranB, Pan_CK, CD68, CD3d, CD8a, CD163, CD14, CD4, FOXP3, PD_L1, CD11b, PD_1, CD45RO, HLAA, CD20, Hoechst1, AF488, AF555, AF647, Hoechst2, A488 d_a_rat, A555 d_a_rabbit, A647 d_a_mouse, Hoechst3, CD3, Hoechst4, Hoechst5, Hoechst6, Hoechst7, Hoechst8, Hoechst9, LaminABC, H2Ax, Hoechst10, PCNA, PanCK, CD31, PD_L1__SP142_, PD_L1 _E1L3N_, PD1, PD_L1 _28_8_, HLA_DPB1, A488, A647, LAG_3, CD45R, CD3_Rat_, CD11c, PDL1, CD57, PD_L1_, HLA_DR, CD15, CD44, PDPN, PolICTD, p53, SMA, LaminA_C, CK5, ZEB1, pH3, CK18, TMEM173, pTBK1, pSTAT3, CD45_1, CD16, IBA1, CD45_2, anti_Goat, anti_Rabbit, anti_Mouse, Cytochrome C, NKP46, GZMB) VALUES (79, nan, nan, 1042.978723404255, nan, nan, nan, nan, nan, nan, nan, nan, 435.6382978723405, nan, nan, 1025.276595744681, nan, nan, nan, nan, 1922.234042553192, nan, 2310.106382978724, nan, nan, nan, nan, nan, nan, nan, nan, nan, 1717.3191489361702, 396.8723404255319, 662.0851063829788, 47, 10.186385492683856, 5.837266101340011, 0.819523297330095, 0.9591836734693876, 0.746031746031746, -0.4769528476741355, 'LSP12003_nucleiRingMask.csv', 'syn31547338', 'HTAN OHSU', 'HTA9_14_1066', 'HTA9_14_7', nan, nan, 953.6595744680852, nan, 1379.723404255319, 2517.851063829787, 2192.936170212766, 9968.829787234044, nan, 4085.36170212766, 1046.3617021276596, nan, 5101.36170212766, nan, nan, nan, 4889.659574468085, 24354.978723404256, nan, nan, nan, 5533.574468085107, nan, nan, nan, 5513.978723404255, nan, 7071.510638297872, 6394.787234042553, 6900.744680851064, 6498.893617021276, 3520.7659574468084, 2550.468085106383, nan, nan, 1527.957446808511, 3358.851063829787, 3617.489361702128, nan, nan, nan, 1959.617021276596, nan, 1795.7446808510638, 3284.574468085106, 1668.8297872340424, nan, nan, 7311.872340425532, 2030.127659574468, 1751.3829787234042, 3109.2978723404253, 2416.659574468085, 470.3617021276596, 2313.425531914894, 749.2553191489362, 626.2127659574468, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan), (90, nan, nan, 836.0, nan, nan, nan, nan, nan, nan, nan, nan, 499.8918918918919, nan, nan, 608.6216216216217, nan, nan, nan, nan, 6156.72972972973, nan, 1771.6351351351352, nan, nan, nan, nan, nan, nan, nan, nan, nan, 2061.743243243244, 635.2297297297297, 685.9459459459459, 74, 11.987335399602062, 7.895033090789695, 0.7524805117630193, 0.9367088607594936, 0.7474747474747475, -0.4486922722832978, 'LSP12003_nucleiRingMask.csv', 'syn31547338', 'HTAN OHSU', 'HTA9_14_1066', 'HTA9_14_7', nan, nan, 2347.810810810811, nan, 1022.2162162162164, 2053.8513513513512, 1636.7027027027027, 7201.675675675676, nan, 4000.554054054054, 745.8648648648649, nan, 6553.7972972972975, nan, nan, nan, 3945.189189189189, 12337.013513513511, nan, nan, nan, 2949.364864864865, nan, nan, nan, 3442.7702702702704, nan, 4454.851351351352, 3639.608108108108, 4334.540540540541, 4660.675675675676, 3526.675675675676, 2629.635135135135, nan, nan, 2356.0945945945946, 2456.445945945946, 3460.5, nan, nan, nan, 1743.3648648648648, nan, 1450.9324324324325, 2472.864864864865, 829.9324324324324, nan, nan, 4973.702702702703, 1574.662162162162, 1711.7432432432431, 2224.3513513513512, 1622.837837837838, 448.5945945945946, 2099.45945945946, 857.7432432432432, 535.9324324324324, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan), (105, nan, nan, 1268.5974025974026, nan, nan, nan, nan, nan, nan, nan, nan, 441.75324675324674, nan, nan, 1113.922077922078, nan, nan, nan, nan, 904.8831168831168, nan, 2452.6103896103896, nan, nan, nan, nan, nan, nan, nan, nan, nan, 1276.1168831168832, 661.3636363636364, 709.4415584415584, 77, 10.043946298968566, 9.790703984961372, 0.2231392804901817, 0.9058823529411764, 0.77, -0.3275530018341788, 'LSP12003_nucleiRingMask.csv', 'syn31547338', 'HTAN OHSU', 'HTA9_14_1066', 'HTA9_14_7', nan, nan, 822.7402597402597, nan, 1178.3246753246754, 2291.909090909091, 1659.974025974026, 5914.961038961039, nan, 3350.038961038961, 1108.6753246753246, nan, 5513.935064935065, nan, nan, nan, 5430.506493506494, 26047.50649350649, nan, nan, nan, 6287.233766233766, nan, nan, nan, 5477.831168831169, nan, 7731.909090909091, 5959.025974025974, 7201.974025974026, 6502.532467532467, 3695.87012987013, 3073.948051948052, nan, nan, 2360.688311688312, 10752.675324675323, 5165.1558441558445, nan, nan, nan, 1836.6753246753249, nan, 588.6883116883117, 3588.194805194805, 1013.8441558441558, nan, nan, 6491.519480519481, 1829.4155844155844, 1657.025974025974, 2563.662337662337, 1779.6753246753246, 552.9350649350649, 2523.2727272727275, 489.5194805194805, 566.4805194805194, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan), (258, nan, nan, 1050.3150684931506, nan, nan, nan, nan, nan, nan, nan, nan, 566.068493150685, nan, nan, 1494.4657534246576, nan, nan, nan, nan, 1034.2739726027398, nan, 2845.890410958904, nan, nan, nan, nan, nan, nan, nan, nan, nan, 1243.7945205479452, 734.986301369863, 917.109589041096, 73, 9.977242610198168, 9.385898346416663, 0.3391544852296944, 0.9605263157894736, 0.9012345679012346, -1.1380048214455132, 'LSP12003_nucleiRingMask.csv', 'syn31547338', 'HTAN OHSU', 'HTA9_14_1066', 'HTA9_14_7', nan, nan, 927.2328767123288, nan, 1457.109589041096, 2182.3835616438355, 1963.041095890411, 5482.657534246576, nan, 4046.041095890411, 1355.150684931507, nan, 5743.739726027397, nan, nan, nan, 6767.041095890411, 26598.369863013697, nan, nan, nan, 6615.465753424657, nan, nan, nan, 7301.027397260274, nan, 9608.164383561643, 8571.753424657534, 8793.767123287671, 11060.767123287673, 7059.095890410959, 8679.232876712329, nan, nan, 9242.780821917808, 10097.342465753423, 3732.4109589041095, nan, nan, nan, 1914.3972602739725, nan, 604.4246575342465, 3418.123287671233, 779.5616438356165, nan, nan, 7420.657534246576, 2136.4520547945203, 1793.0, 3791.3698630136983, 2376.780821917808, 988.2602739726028, 4258.246575342466, 748.972602739726, 589.3150684931506, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan), (321, nan, nan, 1048.9263157894736, nan, nan, nan, nan, nan, nan, nan, nan, 487.0736842105263, nan, nan, 1485.9894736842105, nan, nan, nan, nan, 993.4736842105264, nan, 2795.8315789473686, nan, nan, nan, nan, nan, nan, nan, nan, nan, 1232.3263157894737, 720.9894736842106, 966.5894736842104, 95, 11.49128649379623, 10.574519999586345, 0.3913998154132281, 0.931372549019608, 0.7851239669421488, 1.037372657866208, 'LSP12003_nucleiRingMask.csv', 'syn31547338', 'HTAN OHSU', 'HTA9_14_1066', 'HTA9_14_7', nan, nan, 885.9473684210526, nan, 1492.2842105263155, 1910.7263157894736, 1584.2315789473685, 5312.4315789473685, nan, 4023.431578947369, 1398.7263157894736, nan, 6502.347368421053, nan, nan, nan, 6574.368421052632, 24615.70526315789, nan, nan, nan, 6147.252631578947, nan, nan, nan, 6410.8, nan, 11386.589473684213, 9315.431578947368, 10397.463157894736, 8382.284210526315, 5475.536842105264, 6556.473684210527, nan, nan, 7080.936842105263, 13060.357894736842, 5465.38947368421, nan, nan, nan, 1950.6736842105263, nan, 573.8421052631579, 3496.073684210526, 774.9157894736842, nan, nan, 7245.842105263157, 3607.294736842105, 1821.0526315789475, 3507.084210526316, 2222.6526315789474, 991.6842105263158, 3891.0, 736.6842105263158, 578.2947368421053, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan);