diff --git a/R/fit_peaks.R b/R/fit_peaks.R index 65cf473..0bd8c61 100644 --- a/R/fit_peaks.R +++ b/R/fit_peaks.R @@ -172,9 +172,9 @@ find_peaks <- function(y, smooth_type = c("gaussian", "box", "savgol", #' #' * Naish, P. J. & Hartwell, S. 1988. Exponentially Modified Gaussian functions - A #' good model for chromatographic peaks in isocratic HPLC? \emph{Chromatographia}, -#' /bold{26}: 285-296. \doi{10.1007/BF02268168}. +#' \bold{26}: 285-296. \doi{10.1007/BF02268168}. #' @export fit_peaks - +#' @md fit_peaks <- function (x, lambda, pos = NULL, sd.max = 50, fit = c("egh", "gaussian", "raw"), max.iter = 1000, estimate_purity = TRUE, noise_threshold = .001, ...){ diff --git a/R/get_peaktable.R b/R/get_peaktable.R index 2bb4706..ddedf38 100644 --- a/R/get_peaktable.R +++ b/R/get_peaktable.R @@ -54,7 +54,7 @@ #' weight given to spectral correlation if \code{sp.rt} is selected. #' @param deepSplit Logical. Controls sensitivity to cluster splitting. If #' \code{TRUE}, function will return more smaller clusters. See documentation for -#' \code{\link{cutreeDynamic}} for additional information. +#' \code{\link[dynamicTreeCut]{cutreeDynamic}} for additional information. #' @param verbose Logical. Whether to print warning when combining peaks into #' single time window. Defaults to \code{FALSE}. #' @param out Specify `data.frame` or `matrix` as output. Defaults to diff --git a/R/get_purity.R b/R/get_purity.R index 04a88f0..b343cf6 100644 --- a/R/get_purity.R +++ b/R/get_purity.R @@ -20,7 +20,7 @@ #' @references #' Stahl, Mark. “Peak Purity Analysis in HPLC and CE Using Diode-Array Technology.” #' Agilent Technologies, April 1, 2003, 16. -#' /href{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} +#' \url{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} #' @author Ethan Bass #' @keywords internal #' @export @@ -98,7 +98,7 @@ find_noise <- function(x, noise_threshold = 0.01, lambdas){ #' @references #' Stahl, Mark. “Peak Purity Analysis in HPLC and CE Using Diode-Array Technology.” #' Agilent Technologies, April 1, 2003, 16. -#' /href{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} +#' \url{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} #' @author Ethan Bass #' @keywords internal #' @export @@ -131,7 +131,7 @@ get_agilent_threshold <- function(x, pos, weight = 1, noise_variance = NULL, #' @references #' Stahl, Mark. “Peak Purity Analysis in HPLC and CE Using Diode-Array Technology.” #' Agilent Technologies, April 1, 2003, 16. -#' /href{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} +#' \url{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} #' @author Ethan Bass #'@noRd @@ -155,7 +155,7 @@ get_spectral_similarity <- function(x, pos){ #' @references #' Stahl, Mark. “Peak Purity Analysis in HPLC and CE Using Diode-Array Technology.” #' Agilent Technologies, April 1, 2003, 16. -#' /href{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} +#' \url{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} #' @author Ethan Bass #' @noRd diff --git a/man/fit_peaks.Rd b/man/fit_peaks.Rd index 780d088..5c0996e 100644 --- a/man/fit_peaks.Rd +++ b/man/fit_peaks.Rd @@ -80,13 +80,14 @@ data(Sa_pr) fit_peaks(Sa_pr[[1]], lambda = 220) } \references{ -* Lan, K. & Jorgenson, J. W. 2001. A hybrid of exponential and gaussian +\itemize{ +\item Lan, K. & Jorgenson, J. W. 2001. A hybrid of exponential and gaussian functions as a simple model of asymmetric chromatographic peaks. \emph{Journal of Chromatography A} \bold{915}:1-13. \doi{10.1016/S0021-9673(01)00594-5}. - -* Naish, P. J. & Hartwell, S. 1988. Exponentially Modified Gaussian functions - A +\item Naish, P. J. & Hartwell, S. 1988. Exponentially Modified Gaussian functions - A good model for chromatographic peaks in isocratic HPLC? \emph{Chromatographia}, -/bold{26}: 285-296. \doi{10.1007/BF02268168}. +\bold{26}: 285-296. \doi{10.1007/BF02268168}. +} } \seealso{ \code{\link{find_peaks}}, \code{\link{get_peaks}} diff --git a/man/get_agilent_threshold.Rd b/man/get_agilent_threshold.Rd index 2c86668..b7018c1 100644 --- a/man/get_agilent_threshold.Rd +++ b/man/get_agilent_threshold.Rd @@ -38,7 +38,7 @@ Calculate purity thresholds \references{ Stahl, Mark. “Peak Purity Analysis in HPLC and CE Using Diode-Array Technology.” Agilent Technologies, April 1, 2003, 16. -/href{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} +\url{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} } \author{ Ethan Bass diff --git a/man/get_peaktable.Rd b/man/get_peaktable.Rd index cfb852c..58d5fb8 100644 --- a/man/get_peaktable.Rd +++ b/man/get_peaktable.Rd @@ -58,7 +58,7 @@ weight given to spectral correlation if \code{sp.rt} is selected.} \item{deepSplit}{Logical. Controls sensitivity to cluster splitting. If \code{TRUE}, function will return more smaller clusters. See documentation for -\code{\link{cutreeDynamic}} for additional information.} +\code{\link[dynamicTreeCut]{cutreeDynamic}} for additional information.} \item{verbose}{Logical. Whether to print warning when combining peaks into single time window. Defaults to \code{FALSE}.} diff --git a/man/get_purity.Rd b/man/get_purity.Rd index ae2ae07..22c7089 100644 --- a/man/get_purity.Rd +++ b/man/get_purity.Rd @@ -47,7 +47,7 @@ comprising the peak, using the method described in Stahl 2003. \references{ Stahl, Mark. “Peak Purity Analysis in HPLC and CE Using Diode-Array Technology.” Agilent Technologies, April 1, 2003, 16. -/href{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} +\url{https://www.agilent.com/cs/library/applications/5988-8647EN.pdf} } \author{ Ethan Bass