Skip to content

Commit

Permalink
Merge pull request #169 from Toshihiko-tan/CAEN-FIX
Browse files Browse the repository at this point in the history
Fixed the documentation of heatmap.R and lasagna_plots.R
  • Loading branch information
irinagain authored Oct 7, 2024
2 parents a3272b7 + c6e5cc3 commit a868f23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/heatmap.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' @param clustering_distance_subjects the distance measure for subjects clustering, accepts same values as \code{\link{dist}}, default value is 'correlation' distance
#' @param tz \strong{Default: "".} A character string specifying the time zone to be used. System-specific (see \code{\link{as.POSIXct}}), but " " is the current time zone, and "GMT" is UTC (Universal Time, Coordinated). Invalid values are most commonly treated as UTC, on some platforms with a warning.
#'
#' @return A heatmap of metrics by subjects generated via \code{\link{pheatmap}}
#' @return A heatmap of metrics by subjects generated via \code{\link[pheatmap]{pheatmap}}
#' @export
#'
#' @examples
Expand Down
2 changes: 1 addition & 1 deletion R/lasagna_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' @inheritParams conga
#' @param lasagnatype \strong{Default: "unsorted".} String corresponding to plot type, currently supported options are 'unsorted' for an unsorted single-subject lasagna plot, 'timesorted' for a lasagna plot with glucose values sorted within each time point across days, and 'daysorted' for a lasagna plot with glucose values sorted within each day across time points.
#' @param limits The minimal and maximal glucose values for coloring grid which is gradient from blue (minimal) to red (maximal), see \code{\link{scale_fill_gradient2}})
#' @param limits The minimal and maximal glucose values for coloring grid which is gradient from blue (minimal) to red (maximal), see \code{\link[ggplot2]{scale_fill_gradient2}})
#' @param midpoint The glucose value serving as midpoint of the diverging gradient scale (see \code{\link{scale_fill_gradient2}}). The default value is 105 mg/dL. The values above are colored in red, and below in blue in the default color_scheme, which can be adjusted.
#' @param dt0 The time frequency for interpolated aligned grid in minutes, the default will match the CGM meter's frequency (e.g. 5 min for Dexcom).
#' @param inter_gap The maximum allowable gap (in minutes) for interpolation of
Expand Down

0 comments on commit a868f23

Please sign in to comment.