Skip to content

Commit d986455

Browse files
committed
Clarify how getPlottingData() nests elements per modelID for multiModel plots
1 parent 45d398a commit d986455

2 files changed

Lines changed: 16 additions & 10 deletions

File tree

R/plots.R

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,11 +341,6 @@ getMappingPlottingData <- function(study = study, modelID = modelID, featureID =
341341
#' order of this input. The column order is unchanged. If multiple testIDs are
342342
#' provided, they are stored in a list object.}
343343
#'
344-
#' If multiple models are passed:
345-
#'
346-
#' \item{\code{mapping}}{A data frame that contains the featureID(s) from each
347-
#' model. This is the filtered mapping object.}
348-
#'
349344
#' If the study has metaAssays available that map to the input featureID(s),
350345
#' then \code{metaFeatures} and \code{metaAssays} are returned:
351346
#'
@@ -369,6 +364,14 @@ getMappingPlottingData <- function(study = study, modelID = modelID, featureID =
369364
#' \item{\code{objects}}{A custom object that was added to the modelID
370365
#' (\code{\link{addObjects}})}
371366
#'
367+
#' If multiple models are passed, then the top-level elements correspond to the
368+
#' names of the modelIDs, and the above elements are each nested within their
369+
#' respective modelID. Furthermore, an additional top-level element
370+
#' \code{mapping} is returned:
371+
#'
372+
#' \item{\code{mapping}}{A data frame that contains the featureID(s) from each
373+
#' model. This is the filtered mapping object.}
374+
#'
372375
#' @seealso \code{\link{addPlots}}, \code{\link{plotStudy}}
373376
#'
374377
#' @export

man/getPlottingData.Rd

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)