Skip to content

Commit

Permalink
Rename Atoms and Molecules to AtomPlots and MoleculePlots
Browse files Browse the repository at this point in the history
  • Loading branch information
pchelle committed Sep 13, 2022
1 parent ef51f9e commit b69e36f
Show file tree
Hide file tree
Showing 52 changed files with 86 additions and 86 deletions.
4 changes: 2 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export(AestheticSelectionKeys)
export(AggregationInput)
export(AggregationSummary)
export(Alignments)
export(Atoms)
export(AtomPlots)
export(AxisConfiguration)
export(BackgroundConfiguration)
export(BackgroundElement)
Expand Down Expand Up @@ -61,7 +61,7 @@ export(LegendPositions)
export(LegendTypes)
export(LineElement)
export(Linetypes)
export(Molecules)
export(MoleculePlots)
export(ObsVsPredDataMapping)
export(ObsVsPredPlotConfiguration)
export(ObservedDataMapping)
Expand Down
4 changes: 2 additions & 2 deletions R/themes.R
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ ThemePlotConfigurations <- R6::R6Class(
addErrorbar = NULL,
...) {
# Validate necessary input
atomPlotInputs <- as.character(setdiff(Atoms, "initializePlot"))
atomPlotInputs <- as.character(setdiff(AtomPlots, "initializePlot"))
validateExpressions <- parse(text = paste0("validateIsOfType(", atomPlotInputs, ", 'ThemeAestheticSelections', nullAllowed = TRUE)"))
eval(validateExpressions)

Expand All @@ -376,7 +376,7 @@ ThemePlotConfigurations <- R6::R6Class(
# Aesthetics for molecule plots
# This allows also user defined molecule plots
userMoleculePlots <- list(...)
moleculePlotInputs <- union(names(userMoleculePlots), as.character(Molecules))
moleculePlotInputs <- union(names(userMoleculePlots), as.character(MoleculePlots))

for (molecule in moleculePlotInputs) {
# Empty list if not defined by user
Expand Down
8 changes: 4 additions & 4 deletions R/utilities-enums.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@ AestheticFields <- enum(c(
"errorbars"
))

#' @title Atoms
#' @title AtomPlots
#' @import ospsuite.utils
#' @export
#' @description
#' List of all available atom plots
#' @family enum helpers
Atoms <- enum(c(.getTitlesFromFamilyTag("atom plots")))
AtomPlots <- enum(c(.getTitlesFromFamilyTag("atom plots")))

#' @title Molecules
#' @title MoleculePlots
#' @import ospsuite.utils
#' @export
#' @description
#' List of all available molecule plots
#' @family enum helpers
Molecules <- enum(c(.getTitlesFromFamilyTag("molecule plots")))
MoleculePlots <- enum(c(.getTitlesFromFamilyTag("molecule plots")))

#' @title PlotConfigurations
#' @import ospsuite.utils
Expand Down
4 changes: 2 additions & 2 deletions man/AestheticFields.Rd

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

4 changes: 2 additions & 2 deletions man/AestheticProperties.Rd

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

4 changes: 2 additions & 2 deletions man/Alignments.Rd

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

10 changes: 5 additions & 5 deletions man/Atoms.Rd → man/AtomPlots.Rd

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

2 changes: 1 addition & 1 deletion man/BoxWhiskerDataMapping.Rd

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

2 changes: 1 addition & 1 deletion man/BoxWhiskerPlotConfiguration.Rd

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

2 changes: 1 addition & 1 deletion man/DDIRatioDataMapping.Rd

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

2 changes: 1 addition & 1 deletion man/DDIRatioPlotConfiguration.Rd

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

4 changes: 2 additions & 2 deletions man/DataMappings.Rd

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

4 changes: 2 additions & 2 deletions man/ExportFormats.Rd

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

4 changes: 2 additions & 2 deletions man/ExportUnits.Rd

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

4 changes: 2 additions & 2 deletions man/FontFaces.Rd

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

2 changes: 1 addition & 1 deletion man/HistogramDataMapping.Rd

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

2 changes: 1 addition & 1 deletion man/HistogramPlotConfiguration.Rd

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

4 changes: 2 additions & 2 deletions man/HorizontalJustification.Rd

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

4 changes: 2 additions & 2 deletions man/LegendPositions.Rd

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

2 changes: 1 addition & 1 deletion man/LineElement.Rd

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

4 changes: 2 additions & 2 deletions man/Linetypes.Rd

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

10 changes: 5 additions & 5 deletions man/Molecules.Rd → man/MoleculePlots.Rd

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

2 changes: 1 addition & 1 deletion man/ObsVsPredDataMapping.Rd

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

2 changes: 1 addition & 1 deletion man/ObsVsPredPlotConfiguration.Rd

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

2 changes: 1 addition & 1 deletion man/ObservedDataMapping.Rd

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

2 changes: 1 addition & 1 deletion man/PKRatioDataMapping.Rd

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

2 changes: 1 addition & 1 deletion man/PKRatioPlotConfiguration.Rd

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

Loading

0 comments on commit b69e36f

Please sign in to comment.