Skip to content

Commit

Permalink
Dev datasets (#40)
Browse files Browse the repository at this point in the history
* Remove year_init and year_end from the default dataset serodata

* Remove year_init and year_end from the default dataset chagas2012

* Remove year_init and year_end from the dataset chik2015

* Remove year_init and year_end from the dataset veev2012

* doc: remove year_init and year_end from documentation
  • Loading branch information
ntorresd authored Mar 30, 2023
1 parent 309174a commit 7a1baa2
Show file tree
Hide file tree
Showing 18 changed files with 8 additions and 24 deletions.
2 changes: 0 additions & 2 deletions R/modelling.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
#' \code{counts} \tab Number of positive samples for each age group\cr \tab \cr
#' \code{age_min} \tab age_min \cr \tab \cr
#' \code{age_max} \tab age_max \cr \tab \cr
#' \code{year_init} \tab year_init \cr \tab \cr
#' \code{year_end} \tab year_end \cr \tab \cr
#' \code{tsur} \tab Year in which the survey took place \cr \tab \cr
#' \code{country} \tab The country where the survey took place \cr \tab \cr
#' \code{test} \tab The type of test taken \cr \tab \cr
Expand Down
4 changes: 0 additions & 4 deletions R/seroprevalence_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#' \code{counts} \tab Number of positive samples for each age group\cr \tab \cr
#' \code{age_min} \tab age_min \cr \tab \cr
#' \code{age_max} \tab age_max \cr \tab \cr
#' \code{year_init} \tab year_init \cr \tab \cr
#' \code{year_end} \tab year_end \cr \tab \cr
#' \code{tsur} \tab Year in which the survey took place \cr \tab \cr
#' \code{country} \tab The country where the survey took place \cr \tab \cr
#' \code{test} \tab The type of test taken \cr \tab \cr
Expand Down Expand Up @@ -74,8 +72,6 @@ prepare_serodata <- function(serodata = serodata,
#' \code{counts} \tab Number of positive samples for each age group\cr \tab \cr
#' \code{age_min} \tab age_min \cr \tab \cr
#' \code{age_max} \tab age_max \cr \tab \cr
#' \code{year_init} \tab year_init \cr \tab \cr
#' \code{year_end} \tab year_end \cr \tab \cr
#' \code{tsur} \tab Year in which the survey took place \cr \tab \cr
#' \code{country} \tab The country where the survey took place \cr \tab \cr
#' \code{test} \tab The type of test taken \cr \tab \cr
Expand Down
2 changes: 0 additions & 2 deletions R/visualization.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#' \code{counts} \tab Number of positive samples for each age group\cr \tab \cr
#' \code{age_min} \tab age_min \cr \tab \cr
#' \code{age_max} \tab age_max \cr \tab \cr
#' \code{year_init} \tab year_init \cr \tab \cr
#' \code{year_end} \tab year_end \cr \tab \cr
#' \code{tsur} \tab Year in which the survey took place \cr \tab \cr
#' \code{country} \tab The country where the survey took place \cr \tab \cr
#' \code{test} \tab The type of test taken \cr \tab \cr
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ The package provides an example dataset of the observed serosurvey data,
# Load example serodata data included with the package
data(serodata)
head(serodata, 5)
#> survey total counts age_min age_max year_init year_end tsur country test
#> 1 COL-035-93 34 0 1 1 2012 2012 2012 COL ELISA
#> 2 COL-035-93 25 0 2 2 2012 2012 2012 COL ELISA
#> 3 COL-035-93 35 1 3 3 2012 2012 2012 COL ELISA
#> 4 COL-035-93 29 0 4 4 2012 2012 2012 COL ELISA
#> 5 COL-035-93 36 0 5 5 2012 2012 2012 COL ELISA
#> survey total counts age_min age_max tsur country test
#> 1 COL-035-93 34 0 1 1 2012 COL ELISA
#> 2 COL-035-93 25 0 2 2 2012 COL ELISA
#> 3 COL-035-93 35 1 3 3 2012 COL ELISA
#> 4 COL-035-93 29 0 4 4 2012 COL ELISA
#> 5 COL-035-93 36 0 5 5 2012 COL ELISA
#> antibody
#> 1 IgG anti-T.cruzi
#> 2 IgG anti-T.cruzi
Expand Down
Binary file modified data/chagas2012.RDS
Binary file not shown.
Binary file modified data/chagas2012.RData
Binary file not shown.
Binary file modified data/chik2015.RDS
Binary file not shown.
Binary file modified data/chik2015.RData
Binary file not shown.
Binary file added data/serodata.RDS
Binary file not shown.
Binary file modified data/serodata.RData
Binary file not shown.
Binary file modified data/veev2012.RDS
Binary file not shown.
Binary file modified data/veev2012.RData
Binary file not shown.
2 changes: 1 addition & 1 deletion man/get_exposure_matrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/get_prev_expanded.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions man/plot_seroprev.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions man/prepare_bin_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions man/prepare_serodata.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions man/run_seromodel.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7a1baa2

Please sign in to comment.