Skip to content

Commit

Permalink
Fix checks
Browse files Browse the repository at this point in the history
  • Loading branch information
RiboRings committed Apr 30, 2024
1 parent 528f4db commit bf13c9e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ exportClasses(AbundanceDensityPlot)
exportClasses(AbundancePlot)
exportClasses(RDAPlot)
exportClasses(RowTreePlot)
exportMethods(.multiSelectionDimension)
exportMethods(.multiSelectionRestricted)
exportMethods(iSEE)
importFrom(S4Vectors,isEmpty)
importFrom(S4Vectors,setValidity2)
Expand All @@ -27,6 +25,7 @@ importFrom(iSEE,.checkboxInput.iSEE)
importFrom(iSEE,.conditionalOnCheckSolo)
importFrom(iSEE,.conditionalOnRadio)
importFrom(iSEE,.createProtectedParameterObservers)
importFrom(iSEE,.createUnprotectedParameterObservers)
importFrom(iSEE,.emptyDefault)
importFrom(iSEE,.getEncodedName)
importFrom(iSEE,.getPanelColor)
Expand Down Expand Up @@ -54,4 +53,5 @@ importFrom(shiny,renderPlot)
importFrom(shinyWidgets,addSpinner)
importMethodsFrom(iSEE,.createObservers)
importMethodsFrom(iSEE,.generateOutput)
importMethodsFrom(iSEE,.panelColor)
importMethodsFrom(iSEE,.renderOutput)
4 changes: 2 additions & 2 deletions R/class-AbundanceDensityPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ setMethod(".defineInterface", "AbundanceDensityPlot", function(x, se, select_inf
})

#' @importFrom iSEE .getEncodedName .createProtectedParameterObservers
#' .createUnprotectedParameterObservers
setMethod(".createObservers", "AbundanceDensityPlot", function(x, se, input, session, pObjects, rObjects) {
callNextMethod()

Expand All @@ -143,6 +144,7 @@ setMethod(".createObservers", "AbundanceDensityPlot", function(x, se, input, ses

setMethod(".fullName", "AbundanceDensityPlot", function(x) "Abundance density plot")

#' @importMethodsFrom iSEE .panelColor
setMethod(".panelColor", "AbundanceDensityPlot", function(x) "#8B5A2B")

#' @importFrom iSEE .getEncodedName
Expand Down Expand Up @@ -216,10 +218,8 @@ setMethod(".hideInterface", "AbundanceDensityPlot", function(x, field) {
}
})

#' @export
setMethod(".multiSelectionDimension", "AbundanceDensityPlot", function(x) "row")

#' @export
setMethod(".multiSelectionRestricted", "AbundanceDensityPlot", function(x) {
slot(x, "RowSelectionRestrict")
})
Expand Down
2 changes: 2 additions & 0 deletions R/class-RowTreePlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ setMethod(".defineInterface", "RowTreePlot", function(x, se, select_info) {
})

#' @importFrom iSEE .getEncodedName .createProtectedParameterObservers
#' .createUnprotectedParameterObservers
setMethod(".createObservers", "RowTreePlot", function(x, se, input, session, pObjects, rObjects) {
callNextMethod()

Expand All @@ -128,6 +129,7 @@ setMethod(".createObservers", "RowTreePlot", function(x, se, input, session, pOb

setMethod(".fullName", "RowTreePlot", function(x) "Row tree plot")

#' @importMethodsFrom iSEE .panelColor
setMethod(".panelColor", "RowTreePlot", function(x) "#4EEE94")

#' @importFrom iSEE .getEncodedName
Expand Down
4 changes: 2 additions & 2 deletions vignettes/iSEEtree.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ tse <- GlobalPatterns
# Agglomerate TreeSE by Genus
tse_genus <- mergeFeaturesByRank(tse,
rank = "Genus",
rank = "Order",
onRankOnly = TRUE)
# Add relabundance assay
Expand All @@ -121,7 +121,7 @@ tse_genus <- scater::runPCA(tse_genus, assay.type = "counts")
# Launch iSEE
if (interactive()) {
iSEE(tse_genus)
iSEE(tse_genus, initial = c(ColumnDataTable(), ComplexHeatmapPlot(), AbundanceDensityPlot()))
}
```

Expand Down

0 comments on commit bf13c9e

Please sign in to comment.