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

v0.4.1 #55

Merged
merged 9 commits into from
Jan 27, 2021
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
2 changes: 0 additions & 2 deletions .coveralls.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CompatHelper
on:
schedule:
- cron: 43 7 * * *
workflow_dispatch:
jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
run: julia -e 'using CompatHelper; CompatHelper.main(; master_branch = "dev")'
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

38 changes: 19 additions & 19 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
authors = ["Vladimir Arnautov (mail@pharmcat.net)"]
name = "ClinicalTrialUtilities"
uuid = "535c2557-d7d0-564d-8ff9-4ae146c18cfe"
version = "0.4.0"
authors = ["Vladimir Arnautov (mail@pharmcat.net)"]
version = "0.4.1"

[deps]
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
Roots = "f2b01f46-fcfa-551c-844a-d8ac1e96c665"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Roots = "f2b01f46-fcfa-551c-844a-d8ac1e96c665"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

[compat]
DataFrames = "0.19, 0.20, 0.21, 0.22"
Distributions = "0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.24"
QuadGK = "2.0, 2.1, 2.2, 2.3, 2.4"
RecipesBase = "0.7, 0.8, 1"
Reexport = "0.1, 0.2, 1.0"
Roots = "0.7, 0.8, 1"
SpecialFunctions = "0.8, 0.9, 0.10, 1"
StatsBase = "0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32, 0.33"
julia = "1.0, 1.1, 1.2, 1.3, 1.4, 1.5"

[extras]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["CSV", "Test", "Plots"]

[compat]
julia = "1.0, 1.1, 1.2, 1.3, 1.4, 1.5"
Distributions = "0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 0.24"
StatsBase = "0.22, 0.23, 0.24, 0.25, 0.26, 0.27, 0.28, 0.29, 0.30, 0.31, 0.32, 0.33"
QuadGK = "2.0, 2.1, 2.2, 2.3, 2.4"
SpecialFunctions = "0.8, 0.9, 0.10, 1"
Roots = "0.7, 0.8, 1"
RecipesBase = "0.7, 0.8, 1"
Reexport = "0.1, 0.2"
DataFrames = "0.19, 0.20, 0.21, 0.22"
22 changes: 5 additions & 17 deletions cange.log
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
v0.4.0
v0.4.1
- cox samplen
- datatable
- printdesigns

v0.4.0
- remove DataFrames interim
- minor fix

Expand All @@ -10,7 +14,6 @@ v0.3.2
- bump dependencies

v0.3.1

- deleteat! fix
- simulation crush fix
- Equivalence Hypothesis alpha level fix!
Expand Down Expand Up @@ -45,7 +48,6 @@ v0.2.7
- test update

v0.2.6

- findfirst
- Documents update
- export applyncarule!
Expand All @@ -59,12 +61,10 @@ v0.2.6
- Docs

v0.2.5

- SpecialFunctions 0.10
- RecipesBase 0.8

v0.2.4

- PK: drop observation before dosetime
- Roots Version 1.0
- Distributions 23.0
Expand All @@ -80,7 +80,6 @@ v0.2.4
- Cosmetics

v0.2.3

- ConTab struct
- Urine PK
- NCA Tau PK partial areas fix
Expand Down Expand Up @@ -109,7 +108,6 @@ v0.2.1
- cosmetics

v0.2.0

Breaking changes(!):

- Renamed exported functions: ctsamplen, ctpower, besamplen, bepower, ets (now in lower case).
Expand Down Expand Up @@ -149,20 +147,17 @@ v0.2.0
- Minor changes, bugfix, code cleaning, cosmetics.

v0.1.16

- Split PK/PD
- New PD param
- Column dictionary

v0.1.15

- Add RR CI Katz Test
- Julian function names (part)
- Rename descriptives -> descriptive
- export freque, contab
- minor changes, bugfix, code cleaning


v0.1.14
- Add compat to Project.toml
- Julian function names (part)
Expand Down Expand Up @@ -194,10 +189,8 @@ v0.1.12
- Frequency initial commit - alpha

v0.1.11

- nca hotfix
- add test

- descriptives()
- html export - initial, not final
- StatsBase, Statistics in deps
Expand All @@ -207,16 +200,13 @@ v0.1.11


v0.1.10

- add Cochran–Mantel–Haenszel confidence intervals
- add documentation and comments
- improve coverage
- add tests
- code cosmetics


v0.1.9

- add PK module
- pooledCV
- add DataFrames to dependencies
Expand All @@ -226,7 +216,6 @@ v0.1.9


v0.1.8

- bugfix (meanNormCI, text output)
- wald ci include
- add test
Expand All @@ -236,7 +225,6 @@ v0.1.8


v1.0.7

Add sub-module CI for confidence interval computation as part of simulation functions SIM.
- add Roots in dependencies for mee/fm score ci calc
- add Random in dependencies for simulations
Expand Down
2 changes: 2 additions & 0 deletions src/ClinicalTrialUtilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ bepower,
cvfromci,
cvfromvar,
pooledcv,
printdesigns,
#Other
descriptive,
freque,
Expand Down Expand Up @@ -130,6 +131,7 @@ applyelimrange!,
keldata,
setkelauto!,
getkelauto,
datatable,
# Simulation
ctsim,
besim,
Expand Down
21 changes: 21 additions & 0 deletions src/design.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,24 @@ end
end
return sqrt(sum(1 ./ sqa)*d.bkni)
end

function printdesigns()
v = [:parallel, :d2x2, :d2x2x3, :d2x2x4, :d2x4x4, :d2x3x3, :d2x4x2, :d3x3, :d4x4, :d3x6x3]
df = ["n - 1", "n - 2", "2n - 3", "3n - 4", "3n - 4", "2n - 3", "n - 2", "2n - 4", "3n - 6", "2n - 4"]
name = ["Parallel", "Crossover",
"Replicate crossover", "Replicate crossover", "Replicate crossover",
"Partial replicate crossover", "Balaam's", "Crossover", "Crossover", "Crossover"]
mx = Matrix{String}(undef, length(v)+1, 5)
view(mx, 1, 1:5) .= ["Name", "Symbol", "DF", "bkni", "Sequences"]
for i = 1:length(v)
d = Design(v[i])
r = i + 1
mx[r, 2] = string(v[i])
mx[r, 4] = string(d.bkni)
mx[r, 5] = string(d.sq)
view(mx, 2:11, 3) .= df
view(mx, 2:11, 1) .= name
end
mx[2,5] = "-"
printmatrix(stdout, mx)
end
Loading