Skip to content

Commit

Permalink
biocheck fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
deril2605 committed Jan 22, 2024
1 parent f3e0afa commit db2013a
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 5 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Imports:
data.table,
checkmate,
MASS,
htmltools,
limma,
lme4,
preprocessCore,
Expand Down Expand Up @@ -46,7 +47,7 @@ biocViews: ImmunoOncology, MassSpectrometry, Proteomics, Software, Normalization
LazyData: true
URL: http://msstats.org
BugReports: https://groups.google.com/forum/#!forum/msstats
RoxygenNote: 7.2.3
RoxygenNote: 7.3.0
Encoding: UTF-8
NeedsCompilation: no
Packaged: 2017-10-20 02:13:12 UTC; meenachoi
Expand Down
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ importFrom(graphics,par)
importFrom(graphics,plot)
importFrom(graphics,plot.new)
importFrom(graphics,title)
importFrom(htmltools,div)
importFrom(htmltools,save_html)
importFrom(htmltools,tagList)
importFrom(limma,squeezeVar)
importFrom(lme4,lmer)
importFrom(marray,maPalette)
Expand Down
2 changes: 1 addition & 1 deletion R/dataProcessPlots.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
#' @importFrom graphics axis image legend mtext par plot.new title plot
#' @importFrom grDevices dev.off hcl pdf
#' @importFrom plotly ggplotly style add_trace plot_ly subplot
#'
#' @importFrom htmltools tagList div save_html
#'
#' @export
#'
Expand Down
4 changes: 4 additions & 0 deletions R/utils_groupcomparison_plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ colMax <- function(data) sapply(data, max, na.rm = TRUE)
colMin <- function(data) sapply(data, min, na.rm = TRUE)

#' Create colorkey for ggplot2 heatmap
#' @param my.colors blocks
#' @keywords internal
.getColorKeyGGPlot2 = function(my.colors, blocks) {
x.at = seq(-0.05, 1.05, length.out = 14)
par(mar = c(3, 3, 3, 3), mfrow = c(3, 1), oma = c(3, 0, 3, 0))
Expand All @@ -75,6 +77,8 @@ colMin <- function(data) sapply(data, min, na.rm = TRUE)
}

#' Create colorkey for plotly heatmap
#' @param my.colors blocks
#' @keywords internal
.getColorKeyPlotly = function(my.colors, blocks) {
color.key.plot <- plotly::layout(
plot_ly(type = "image", z = list(my.colors)),
Expand Down
4 changes: 4 additions & 0 deletions man/dot-getColorKeyGGPlot2.Rd

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

4 changes: 4 additions & 0 deletions man/dot-getColorKeyPlotly.Rd

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

6 changes: 5 additions & 1 deletion man/dot-makeHeatmapPlotly.Rd

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

3 changes: 2 additions & 1 deletion man/dot-plotHeatmap.Rd

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

3 changes: 2 additions & 1 deletion man/groupComparisonPlots.Rd

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

0 comments on commit db2013a

Please sign in to comment.