Skip to content

Commit df337ec

Browse files
committed
Updates from spell_check
1 parent 92c7d2b commit df337ec

22 files changed

+60
-60
lines changed

R/calc_independent_action.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#' concentration-response curves.
66
#'
77
#' @param conc concentrations in regular space
8-
#' @param max maximal (asymtotic) responses
8+
#' @param max maximal (asymptotic) responses
99
#' @param AC50 concentrations of half-maximal response
1010
#' @param Emax maximum mixture response
1111
#' @param n Hill coefficients (slopes)

R/get_fixed_age.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#' Get C_ss Data for Fixed Age
1+
#' Get `C_ss` Data for Fixed Age
22
#'
3-
#' @param simulated_css list of pre-generated C_ss data, for details see:
3+
#' @param simulated_css list of pre-generated `C_ss` data, for details see:
44
#' \code{vignette("package_data", package = "GeoTox")}.
55
#' @param age list of atomic vectors containing ages.
66
#'
7-
#' @return list of matrices containing median C_ss values.
7+
#' @return list of matrices containing median `C_ss` values.
88
#' @export
99
#'
1010
#' @examples

R/get_fixed_css.R

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
#' Get Fixed C_ss Data
1+
#' Get Fixed `C_ss` Data
22
#'
33
#' @description
4-
#' Get C_ss values for use in [sensitivity_analysis] and [compute_sensitivity].
4+
#' Get `C_ss` values for use in [sensitivity_analysis] and [compute_sensitivity].
55
#'
6-
#' @param simulated_css list of pre-generated C_ss data, for details see:
6+
#' @param simulated_css list of pre-generated `C_ss` data, for details see:
77
#' \code{vignette("package_data", package = "GeoTox")}.
88
#' @param age list of atomic vectors containing ages.
99
#' @param obesity list of atomic vectors containing obesity status.
10-
#' @param C_ss list of matrices containing C_ss values.
10+
#' @param C_ss list of matrices containing `C_ss` values.
1111
#'
12-
#' @return list of matrices or atomic vectors containing C_ss values.
12+
#' @return list of matrices or atomic vectors containing `C_ss` values.
1313
#' @export
1414
#'
1515
#' @examples

R/get_fixed_obesity.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#' Get C_ss Data for Fixed Obesity Status
1+
#' Get `C_ss` Data for Fixed Obesity Status
22
#'
3-
#' @param simulated_css list of pre-generated C_ss data, for details see:
3+
#' @param simulated_css list of pre-generated `C_ss` data, for details see:
44
#' \code{vignette("package_data", package = "GeoTox")}.
55
#' @param obesity list of atomic vectors containing obesity status.
66
#'
7-
#' @return list of matrices containing median C_ss values.
7+
#' @return list of matrices containing median `C_ss` values.
88
#' @export
99
#'
1010
#' @examples

R/get_fixed_other.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
#' Get median C_ss Values
1+
#' Get median `C_ss` Values
22
#'
3-
#' @param C_ss list of matrices containing C_ss data
3+
#' @param C_ss list of matrices containing `C_ss` data
44
#'
5-
#' @return list of atomic vectors containing median C_ss values.
5+
#' @return list of atomic vectors containing median `C_ss` values.
66
#' @export
77
#'
88
#' @examples

R/get_fixed_params.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#' Get C_ss Data for Fixed C_ss Generation Parameters
1+
#' Get `C_ss` Data for Fixed `C_ss` Generation Parameters
22
#'
3-
#' @param simulated_css list of pre-generated C_ss data, for details see:
3+
#' @param simulated_css list of pre-generated `C_ss` data, for details see:
44
#' \code{vignette("package_data", package = "GeoTox")}.
55
#' @param age list of atomic vectors containing ages.
66
#'
7-
#' @return list of matrices containing C_ss values.
7+
#' @return list of matrices containing `C_ss` values.
88
#' @export
99
#'
1010
#' @examples

R/hill_conc.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#' Calculate the concentration in regular space for a given response value.
55
#'
66
#' @param resp response value
7-
#' @param max maximal (asymtotic) response
7+
#' @param max maximal (asymptotic) response
88
#' @param AC50 concentration of half-maximal response
99
#' @param n Hill coefficient (slope)
1010
#'

R/hill_val.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#' Calculate the response for a given concentration in regular space.
55
#'
66
#' @param conc concentration in regular space
7-
#' @param max maximal (asymtotic) response
7+
#' @param max maximal (asymptotic) response
88
#' @param AC50 concentration of half-maximal response
99
#' @param n Hill coefficient (slope)
1010
#'

R/sample_Css.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#' Sample from pre-generated C_ss data
1+
#' Sample from pre-generated `C_ss` data
22
#'
3-
#' @param simulated_css list of pre-generated C_ss data, for details see:
3+
#' @param simulated_css list of pre-generated `C_ss` data, for details see:
44
#' \code{vignette("package_data", package = "GeoTox")}.
55
#' @param age list or atomic vector of ages.
66
#' @param obesity list or atomic vector of obesity status.
77
#'
8-
#' @return list of matrices containing C_ss values. Columns are sorted to have
8+
#' @return list of matrices containing `C_ss` values. Columns are sorted to have
99
#' consistent order across functions.
1010
#'
1111
#' @examples

README.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pak::pak("NIEHS/GeoTox")
4747

4848
## Overview
4949

50-
Figure 1 below shows the steps in the source-to-outcome-continuum or GeoTox modelling framework that is capable in the `GeoTox` package. <span style="color: blue;">blue text</span> nodes represent an object and <span style="color: green;">green text</span>, rounded nodes represent a methodology or function required to go from one to the next. The `GeoTox` package uses R S3 object-oriented programming to create the **GeoTox** object. The **GeoTox** object is a list that contains all of the information required to run the analysis including tracking exposure, assays, dose-response, and geospatial referencing.
50+
Figure 1 below shows the steps in the source-to-outcome-continuum or GeoTox modeling framework that is capable in the `GeoTox` package. <span style="color: blue;">blue text</span> nodes represent an object and <span style="color: green;">green text</span>, rounded nodes represent a methodology or function required to go from one to the next. The `GeoTox` package uses R S3 object-oriented programming to create the **GeoTox** object. The **GeoTox** object is a list that contains all of the information required to run the analysis including tracking exposure, assays, dose-response, and geospatial referencing.
5151

5252
<p align="center">
5353
<img src="man/figures/GeoTox-Workflow.png" alt="GeoTox-Workflow">

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pak::pak("NIEHS/GeoTox")
4747
## Overview
4848

4949
Figure 1 below shows the steps in the source-to-outcome-continuum or
50-
GeoTox modelling framework that is capable in the `GeoTox` package.
50+
GeoTox modeling framework that is capable in the `GeoTox` package.
5151
<span style="color: blue;">blue text</span> nodes represent an object
5252
and <span style="color: green;">green text</span>, rounded nodes
5353
represent a methodology or function required to go from one to the next.

man/calc_independent_action.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_fixed_age.Rd

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_fixed_css.Rd

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_fixed_obesity.Rd

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_fixed_other.Rd

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_fixed_params.Rd

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/hill_conc.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/hill_val.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/sample_Css.Rd

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/introduction.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ library(dplyr)
2323
n <- 250 # Sample size
2424
```
2525

26-
> **NOTE:** The sample size here is the size of the simulated population in each region. This is different than the sample size in the "package_data" vignette, which is used to generate C_ss values for each chemical at specified age and weight combinations.
26+
> **NOTE:** The sample size here is the size of the simulated population in each region. This is different than the sample size in the "package_data" vignette, which is used to generate `C_ss` values for each chemical at specified age and weight combinations.
2727
2828
## Analysis of single assay
2929

vignettes/package_data.Rmd

+6-6
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ geo_tox_data$obesity <- places |>
283283
select(-OBESITY_Crude95CI)
284284
```
285285

286-
## Steady-state plasma concentration (Css)
286+
## Steady-state plasma concentration (`C_ss`)
287287

288-
Use `httk` to generate Css values for combinations of age group and weight status for each chemical. The generation of these values is a time-intensive step, so one approach is to generate populations of Css values initially and then sample them later.
288+
Use `httk` to generate `C_ss` values for combinations of age group and weight status for each chemical. The generation of these values is a time-intensive step, so one approach is to generate populations of `C_ss` values initially and then sample them later.
289289

290290
```{r, eval=FALSE}
291291
set.seed(2345)
@@ -356,7 +356,7 @@ simulate_css <- function(chem.cas, agelim_years, weight_category,
356356
}
357357
}
358358
359-
# Simulate Css values
359+
# Simulate `C_ss` values
360360
simulated_css <- map(casn, function(chem.cas) {
361361
pop_demo |>
362362
rowwise() |>
@@ -373,7 +373,7 @@ casn_keep <- map_lgl(simulated_css, function(df) {
373373
})
374374
simulated_css <- simulated_css[casn_keep]
375375
376-
# Get median Css values for each age_group
376+
# Get median `C_ss` values for each age_group
377377
simulated_css <- map(
378378
simulated_css,
379379
function(cas_df) {
@@ -387,7 +387,7 @@ simulated_css <- map(
387387
}
388388
)
389389
390-
# Get median Css values for each weight
390+
# Get median `C_ss` values for each weight
391391
simulated_css <- map(
392392
simulated_css,
393393
function(cas_df) {
@@ -407,7 +407,7 @@ geo_tox_data$simulated_css <- simulated_css
407407

408408
# Prune data
409409

410-
Retain only those chemicals found in exposure, dose-response and Css datasets.
410+
Retain only those chemicals found in exposure, dose-response and `C_ss` datasets.
411411

412412
```{r, eval=FALSE}
413413
casn_keep <- names(geo_tox_data$simulated_css)

0 commit comments

Comments
 (0)