Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adjust suggested range for fixslope in test example #41

Merged
merged 3 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ default_process_plate_curvefit_params: &default_process_plate_curvefit_params
frac_infectivity_ceiling: 1
fixtop: [0.75, 1.0]
fixbottom: 0
fixslope: [0.8, 5]
fixslope: [0.8, 10]
```

The specific meaning of these curve-fitting parameters are as follows:
Expand All @@ -361,7 +361,7 @@ The specific meaning of these curve-fitting parameters are as follows:

- `fixbottom`: how to set the bottom plateau of the neutralization curve to this value. Like `fixtop`, it can be a length-two list, a fixed value, or `false`. Typically you should set it to 0 unless you have a good reason otherwise.

- `fixslope`: how to set the slope of the neutralization curve. Like `fixtop`, it can be a length-two list, a fixed value, or `false`. If you don't know the "slope" of the neutralization curve, setting to `false` is a reasonable choice. However, in many cases it is preferable to set to a range that encompasses "reasonable" slopes. Note that what is "reasonable" will depend on the units of the concentration, but when they are serum dilutions a "reasonable" range is often `[0.8, 5]`.
- `fixslope`: how to set the slope of the neutralization curve. Like `fixtop`, it can be a length-two list, a fixed value, or `false`. If you don't know the "slope" of the neutralization curve, setting to `false` is a reasonable choice. However, in many cases it is preferable to set to a range that encompasses "reasonable" slopes. Note that what is "reasonable" will depend on the units of the concentration, but when they are serum dilutions a "reasonable" range is often `[0.8, 10]`.

#### curvefit_qc
This key defines some parameters on quality-control performed after the curve-fitting; viral-barcode / serum-replicate combinations that fail this QC are dropped.
Expand Down
56 changes: 28 additions & 28 deletions docs/aggregate_qc_drops.html

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions docs/pilot_A23038d0_r32_75K_titers.html

Large diffs are not rendered by default.

200 changes: 100 additions & 100 deletions docs/process_H3N2_plate.html

Large diffs are not rendered by default.

176 changes: 88 additions & 88 deletions docs/process_plate11.html

Large diffs are not rendered by default.

170 changes: 85 additions & 85 deletions docs/process_plate2.html

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions docs/serum_M099d0_titers.html

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions docs/serum_M099d30_titers.html

Large diffs are not rendered by default.

46 changes: 26 additions & 20 deletions docs/serum_Y044d30_titers.html

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions docs/serum_Y154d182_titers.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/titers.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test_example/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ default_process_plate_curvefit_params: &default_process_plate_curvefit_params
frac_infectivity_ceiling: 1
fixtop: [0.75, 1]
fixbottom: 0
fixslope: [0.8, 5]
fixslope: [0.8, 10]

default_process_plate_curvefit_qc: &default_process_plate_curvefit_qc
max_frac_infectivity_at_least: 0
Expand Down
389 changes: 194 additions & 195 deletions test_example/expected_titers_for_test.csv

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions test_example/results/aggregated_titers/titers_pilot.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
group,serum,virus,titer,titer_bound,titer_sem,n_replicates,titer_as
pilot,A23038d0_r32_75K,A/Bangkok/P3599/2023,1863,interpolated,25.05,2,midpoint
pilot,A23038d0_r32_75K,A/Bangkok/P3755/2023,851.5,interpolated,540.2,3,midpoint
pilot,A23038d0_r32_75K,A/Bangkok/P3755/2023,851.5,interpolated,540.5,3,midpoint
pilot,A23038d0_r32_75K,A/Bhutan/0006/2023,611.9,interpolated,86.66,3,midpoint
pilot,A23038d0_r32_75K,A/Bhutan/FLU-BTG-00988/2022,552,interpolated,183.5,3,midpoint
pilot,A23038d0_r32_75K,A/Bhutan/FLU-BTG-00988/2022,552,interpolated,183.8,3,midpoint
pilot,A23038d0_r32_75K,A/Brisbane/429/2023,1534,interpolated,331.1,2,midpoint
pilot,A23038d0_r32_75K,A/Busan/1301/2023,773.6,interpolated,57.66,2,midpoint
pilot,A23038d0_r32_75K,A/California/81/2023,1454,interpolated,901.2,2,midpoint
Expand All @@ -12,11 +12,11 @@ pilot,A23038d0_r32_75K,A/Catalonia/NSVH102124476/2023,655.3,interpolated,119.3,3
pilot,A23038d0_r32_75K,A/Chipata/15-NIC-001/2023,1137,interpolated,639.8,3,midpoint
pilot,A23038d0_r32_75K,A/EHIME/50/2023,1167,interpolated,285.7,3,midpoint
pilot,A23038d0_r32_75K,A/Georgia/40/2023,1123,interpolated,345,3,midpoint
pilot,A23038d0_r32_75K,A/Hong_Kong/2671/2019,8785,interpolated,1455,3,midpoint
pilot,A23038d0_r32_75K,A/Hong_Kong/2671/2019,8621,interpolated,1408,3,midpoint
pilot,A23038d0_r32_75K,A/Hong_Kong/45/2019,1040,interpolated,12.96,3,midpoint
pilot,A23038d0_r32_75K,A/Hong_Kong/4801/2014,5075,interpolated,2410,2,midpoint
pilot,A23038d0_r32_75K,A/Hong_Kong/4801/2014_(15/192),1.28e+04,lower,20.92,3,midpoint
pilot,A23038d0_r32_75K,A/Jeju/1047/2023,1049,interpolated,505.2,2,midpoint
pilot,A23038d0_r32_75K,A/Hong_Kong/4801/2014_(15/192),1.28e+04,lower,437.4,3,midpoint
pilot,A23038d0_r32_75K,A/Jeju/1047/2023,1039,interpolated,515,2,midpoint
pilot,A23038d0_r32_75K,A/Kansas/14/2017,4041,interpolated,2384,2,midpoint
pilot,A23038d0_r32_75K,A/Krabi/THIS050/2023,3116,interpolated,2069,2,midpoint
pilot,A23038d0_r32_75K,A/Malaysia/IMR-SARI1989/2023,1422,interpolated,3.266,2,midpoint
Expand All @@ -28,20 +28,20 @@ pilot,A23038d0_r32_75K,A/SOUTH_AFRICA/R07876/202023,797.5,interpolated,83.49,3,m
pilot,A23038d0_r32_75K,A/Saint-Petersburg/RII-MH144113/2023,1685,interpolated,222.5,3,midpoint
pilot,A23038d0_r32_75K,A/Saskatchewan/SKFLU317847/2023,2104,interpolated,432.1,2,midpoint
pilot,A23038d0_r32_75K,A/Schleswig-Holstein/4/2023,1451,interpolated,332.6,3,midpoint
pilot,A23038d0_r32_75K,A/Singapore/INFIMH-16-0019/2016,3345,interpolated,699.5,3,midpoint
pilot,A23038d0_r32_75K,A/Singapore/INFIMH-16-0019/2016,3274,interpolated,754.6,3,midpoint
pilot,A23038d0_r32_75K,A/Singapore/INFIMH-16-0019/2016_X-307A,1.28e+04,lower,0,3,midpoint
pilot,A23038d0_r32_75K,A/SouthAfrica/PET28931/2023,1104,interpolated,211.5,3,midpoint
pilot,A23038d0_r32_75K,A/SouthSudan/631/2023,721.3,interpolated,118.5,3,midpoint
pilot,A23038d0_r32_75K,A/South_Africa/K056872/2023,1115,interpolated,366.8,2,midpoint
pilot,A23038d0_r32_75K,A/South_Africa/R05384/2023,448.6,interpolated,180.2,3,midpoint
pilot,A23038d0_r32_75K,A/South_Africa/R05384/2023,427.8,interpolated,183.2,3,midpoint
pilot,A23038d0_r32_75K,A/South_Africa/R05510/2023,3338,interpolated,1670,2,midpoint
pilot,A23038d0_r32_75K,A/South_Africa/R06240/2023,1397,interpolated,224.3,2,midpoint
pilot,A23038d0_r32_75K,A/South_Africa/R06359/2023,558.4,interpolated,178.9,2,midpoint
pilot,A23038d0_r32_75K,A/South_Africa/R06477/2023,1876,interpolated,778.1,2,midpoint
pilot,A23038d0_r32_75K,A/South_Africa/R06506/2023,1036,interpolated,175.3,3,midpoint
pilot,A23038d0_r32_75K,A/South_Africa/R07188/2023,1987,interpolated,46.67,2,midpoint
pilot,A23038d0_r32_75K,A/Switzerland/9715293/2013,4503,interpolated,132.2,2,midpoint
pilot,A23038d0_r32_75K,A/Switzerland/9715293/2013_NIB-88,6760,interpolated,2281,2,midpoint
pilot,A23038d0_r32_75K,A/Switzerland/9715293/2013_NIB-88,6733,interpolated,2317,2,midpoint
pilot,A23038d0_r32_75K,A/Sydney/332/2023,1350,interpolated,164.2,3,midpoint
pilot,A23038d0_r32_75K,A/Sydney/710/2023,805.1,interpolated,314.3,3,midpoint
pilot,A23038d0_r32_75K,A/Sydney/715/2023,1176,interpolated,12.84,2,midpoint
Expand Down
Loading
Loading