rwe 0.0.2__py3-none-any.whl → 0.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
rwe/clients/aou.py CHANGED
@@ -162,7 +162,7 @@ def generate_aou_labs_measurements_report(doc: Document, chrm: str, gene: str, z
162
162
  res_df = run_parallel(numerical_measurements_df, measurements=measurements, n_jobs=None, chunksize=20)
163
163
  # TODO: add most significant measurements table to doc
164
164
  for k,v in MEASUREMENT_GROUPS.items():
165
- f, a = plot_measurements(numerical_measurements_df, v, multiplier=5, col="median_value", res_df=res_df)
165
+ f, a = plot_measurements(numerical_measurements_df, v, col="median_value", res_df=res_df)
166
166
  fig_path = uth._save_fig_to_tmp(f, basename=f"aou_measurements_{k}", dpi=300)
167
167
  doc.add_paragraph() # spacing
168
168
  doc.add_picture(fig_path, width=Inches(6.5))
rwe/parsers/aou/config.py CHANGED
@@ -61,7 +61,7 @@ PLAUSIBLE = {
61
61
 
62
62
  # --- Liver / protein balance (AoU typical units: albumin g/L, protein g/L, enzymes U/L, bilirubin mg/dL OR umol/L; range is loose) ---
63
63
  "Albumin [Mass/volume] in Serum or Plasma": (15, 60), # g/L
64
- "Protein [Mass/volume] in Serum or Plasma": (40, 100), # g/L
64
+ "Protein [Mass/volume] in Serum or Plasma": (3, 12), # g/dL
65
65
  "Alanine aminotransferase [Enzymatic activity/volume] in Serum or Plasma": (0, 1000), # U/L
66
66
  "Aspartate aminotransferase [Enzymatic activity/volume] in Serum or Plasma": (0, 1000), # U/L
67
67
  "Alkaline phosphatase [Enzymatic activity/volume] in Serum or Plasma": (10, 2000), # U/L
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rwe
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: Real World Evidence utilities and reporting
5
5
  Author: Deepro Banerjee
6
6
  License: MIT License
@@ -2,14 +2,14 @@ rwe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  rwe/generate_report.py,sha256=-NbQJ4H-NYdDzziWMoi5PUWyhZ7p8iVC8UXYUP1v_xY,1833
3
3
  rwe/assets/Arrowhead_Pharmaceuticals_logo.png,sha256=C2mAn6GG4gArds4sBnqM5LcxhuZgujXjwGiZxIuxbLo,51053
4
4
  rwe/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- rwe/clients/aou.py,sha256=vhjoUZAVZUl5K_mSJLYg3x8OvNi4gAMdwWEYXlycR9k,9401
5
+ rwe/clients/aou.py,sha256=XVvRArzcTTBO0JmiTtWvuiafTuzpupaZJBb1Mtt8QIQ,9387
6
6
  rwe/clients/azn.py,sha256=6zwEv0IAgBA-FcI2glGerA9M6pzdKQx7M5M4HZI8HQs,7541
7
7
  rwe/clients/genebass.py,sha256=OkF0_J4lmiujWlffsBlAM3uKxKOCzi7_3f_ehju_tPE,6103
8
8
  rwe/clients/hgnc.py,sha256=ZabNiMgzwu4rCVCptbgUb38qHsL9cHlsQX7s6mZA8Nk,2015
9
9
  rwe/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  rwe/parsers/aou/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  rwe/parsers/aou/collect.py,sha256=3j9S0vg3s5u-lJYhP9gdJA_SJVUTUld-i8M1mS-qg-0,13610
12
- rwe/parsers/aou/config.py,sha256=_BdQohVgSeLNIkoLBQ4XIgo2ucep6NDU8k0vGKgONj8,27018
12
+ rwe/parsers/aou/config.py,sha256=7O8NhrxOAeDJnKYsiQBgufNkxo_O6nRPSrhJ49pteLk,27017
13
13
  rwe/parsers/aou/process.py,sha256=q-H12OQdwBZMqWxuDo389m6WCJb9Qsp5ZIwVc2MHqu4,3683
14
14
  rwe/plots/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  rwe/plots/clinical.py,sha256=dBgdrFog-4gWJyJphoObSuoPtS7Q4wOprWyXMcDD6Dw,7738
@@ -20,8 +20,8 @@ rwe/plots/variant_info.py,sha256=KLUnefwmSxcmOn7mkNBcxvJdpNN4i4F9SZ0SZGlNrvk,536
20
20
  rwe/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  rwe/utils/helpers.py,sha256=t3fmx2OsFx3fvg2uZggagm5LS-PE7J3Yr7Ew3VJUsnA,4336
22
22
  rwe/utils/report.py,sha256=Vyfle1aOoCkqtVeBHAzCdb6hgR0sQZn_qQ4szUw_A3w,4658
23
- rwe-0.0.2.dist-info/licenses/LICENSE,sha256=0PfJPAoyFVWY4L80aEcQyjy4PojxzfqcOenSuXdhgBg,1072
24
- rwe-0.0.2.dist-info/METADATA,sha256=1lz1eESuIy78YTClKI8Kug_f7AKq57QWDxfYSKjGfcs,23601
25
- rwe-0.0.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
26
- rwe-0.0.2.dist-info/top_level.txt,sha256=zwX0M3dfnEfklZqvvBPQXiJykChpiqt219EolC3WFRc,4
27
- rwe-0.0.2.dist-info/RECORD,,
23
+ rwe-0.0.3.dist-info/licenses/LICENSE,sha256=0PfJPAoyFVWY4L80aEcQyjy4PojxzfqcOenSuXdhgBg,1072
24
+ rwe-0.0.3.dist-info/METADATA,sha256=huTbgeLgndyhlIZHX4qOEPQi-jNFCpfRUPF2FM__EZI,23601
25
+ rwe-0.0.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
26
+ rwe-0.0.3.dist-info/top_level.txt,sha256=zwX0M3dfnEfklZqvvBPQXiJykChpiqt219EolC3WFRc,4
27
+ rwe-0.0.3.dist-info/RECORD,,
File without changes