Skip to content

Commit

Permalink
Updated docs; added vignette on adding sensors to db
Browse files Browse the repository at this point in the history
  • Loading branch information
julianstanley committed Jun 14, 2020
1 parent 18fad6a commit ed589cf
Show file tree
Hide file tree
Showing 79 changed files with 1,682 additions and 121 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
.RData
.Ruserdata
.directory
inst/doc
5 changes: 4 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ Imports:
RoxygenNote: 7.1.0
Suggests:
testthat,
vdiffr
vdiffr,
knitr,
rmarkdown
VignetteBuilder: knitr
8 changes: 4 additions & 4 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ rescaleToRange <- function(new_xs, old_xs, y) {
#'
#' @param name Character string. The name of the sensor
#' @param type The type of sensor. One of:
#' {redox, pH, ATP}
#' {redox, pH, pLigand}
#' @param readout The readout of the sensor. One of:
#' {exitation ratiometric, emission ratiometric}
#' @param lambda_max The lambda values corresponding to the emission in the
#' maximum state (corresponding to Rmax)
#' @param values_max The emission values in the maximum state (corresponding
#' to Rmax)
#' to Rmax--so, deprotenated or oxidized or not bound to ligand)
#' @param lambda_min The lambda values corresponding to the emission in the
#' minimum state (corresponding to Rmin)
#' @param values_min The emission values in the minimum state (corresponding
#' to Rmin)
#' to Rmin--so, protenated or reduced or bound to ligand)
#' @param sensor_midpoint Numeric. The midpoint of the sensor. Depending
#' on your sensor, this could be:
#' {e0, pKa, log-midpoint}
Expand Down Expand Up @@ -100,7 +100,7 @@ formatSpectraData <-
}

# Validating types
supported_types <- c("redox", "pH", "ATP")
supported_types <- c("redox", "pH", "pLigand")
supported_readouts <-
c("excitation ratiometric", "emission ratiometric")

Expand Down
17 changes: 16 additions & 1 deletion docs/404.html

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

134 changes: 134 additions & 0 deletions docs/articles/adding_to_db.html

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

154 changes: 154 additions & 0 deletions docs/articles/index.html

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

17 changes: 16 additions & 1 deletion docs/authors.html

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

Loading

0 comments on commit ed589cf

Please sign in to comment.