Commit 51a75bc1 authored by Francisco Arcila Salamanca's avatar Francisco Arcila Salamanca
Browse files

add draft expression data TSV

parent 15784939
...@@ -901,6 +901,12 @@ def export_files( ...@@ -901,6 +901,12 @@ def export_files(
sep="\t", sep="\t",
) )
# export flow data/expression data # export flow data/expression data
flow_df.reset_index().to_csv(
f"{base_path}/expression_data_{database}_{repertoire}_AIRR.tsv",
index=False,
sep="\t",
)
# export flow data/expression data
# Open/create the HDF5 file #todo save as dataframe not hdf5 # Open/create the HDF5 file #todo save as dataframe not hdf5
# sa, saType = sr.df_to_sarray(flow_df.reset_index()) # sa, saType = sr.df_to_sarray(flow_df.reset_index())
......
cell_id B220 CD138 FSC-A FSC-H FSC-W Fas GL7 IgD IgK IgM SSC-A SSC-H SSC-W Time viability
45 1409.86 38.361 83479.5 73191.0 74748.4 1842.8 4337.08 110.118 45314.8 2259.26 33326.2 27395.0 79724.9 213.686 -45.1694
412 234.905 1585.91 115427.0 121214.0 62407.3 35.2272 61.3839 86.5095 48591.1 3398.6 39214.8 37779.0 68026.7 295.724 -49.4045
920 299.52 2226.3 95429.2 95682.0 65362.8 694.323 73.2626 57.4475 29191.2 4254.89 35305.1 37667.0 61426.6 390.057 51.8178
1389 1270.19 -89.4055 120000.0 128950.0 60987.2 2305.37 6021.27 120.501 15403.1 1293.55 22143.7 20342.0 71340.6 654.14 144.726
2179 239.165 1524.57 53602.4 53778.0 65322.0 306.29 8.47039 371.544 12820.7 456.813 58659.9 61872.0 62133.7 452.513 13.8034
3507 131.672 2373.31 120399.0 108278.0 72872.2 110.5 25.8047 78.2676 9824.37 196.513 44283.5 42888.0 67668.4 153.173 29.7022
5909 167.784 1805.92 162452.0 167769.0 63459.0 732.865 -17.0686 124.506 21060.2 2471.85 39222.7 40932.0 62799.3 475.959 67.5056
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment