Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Bioconductor feedback #33

Merged
merged 4 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Description:
visualisation to create panels that are specific for
TreeSummarizedExperiment objects. Not surprisingly, it also depends on the
generic panels from iSEE.
biocViews: Microbiome, Software, Visualization, DataImport
biocViews: Microbiome, Software, Visualization, GUI, ShinyApps
License: Artistic-2.0
Encoding: UTF-8
Depends:
Expand Down
9 changes: 7 additions & 2 deletions R/class-AbundanceDensityPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@
#' # Add relabundance assay
#' tse <- transformAssay(tse, method = "relabundance")
#'
#' # Launch iSEE
#' # Store panel into object
#' panel <- AbundanceDensityPlot()
#' # View some adjustable parameters
#' head(slotNames(panel))
#'
#' # Launch iSEE with custom initial panel
#' if (interactive()) {
#' iSEE(tse)
#' iSEE(tse, initial = c(panel))
#' }
#'
#' @docType methods
Expand Down
9 changes: 7 additions & 2 deletions R/class-AbundancePlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@
#' data("Tengeler2020", package = "mia")
#' tse <- Tengeler2020
#'
#' # Launch iSEE
#' # Store panel into object
#' panel <- AbundancePlot()
#' # View some adjustable parameters
#' head(slotNames(panel))
#'
#' # Launch iSEE with custom initial panel
#' if (interactive()) {
#' iSEE(tse)
#' iSEE(tse, initial = c(panel))
#' }
#'
#' @docType methods
Expand Down
9 changes: 7 additions & 2 deletions R/class-RDAPlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,14 @@
#' distance = "bray",
#' na.action = na.exclude)
#'
#' # Launch iSEE with custom initial panels
#' # Store panel into object
#' panel <- RDAPlot()
#' # View some adjustable parameters
#' head(slotNames(panel))
#'
#' # Launch iSEE with custom initial panel
#' if (interactive()) {
#' iSEE(tse, initial = c(RDAPlot()))
#' iSEE(tse, initial = c(panel))
#' }
#'
#' #' @docType methods
Expand Down
9 changes: 7 additions & 2 deletions R/class-RowTreePlot.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,14 @@
#' data("Tengeler2020", package = "mia")
#' tse <- Tengeler2020
#'
#' # Launch iSEE
#' # Store panel into object
#' panel <- RowTreePlot()
#' # View some adjustable parameters
#' head(slotNames(panel))
#'
#' # Launch iSEE with custom initial panel
#' if (interactive()) {
#' iSEE(tse)
#' iSEE(tse, initial = c(panel))
#' }
#'
#' @docType methods
Expand Down
13 changes: 7 additions & 6 deletions R/iSEE-default.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
#' Panel configuration tuned to the specific properties of
#' \code{\link[TreeSummarizedExperiment:TreeSummarizedExperiment-constructor]{TreeSummarizedExperiment}}.
#'
#' @inherit iSEE::iSEE params details sections
#'
#' @return
#' The iSEE method for the TreeSE container returns a default set of panels
#' typically relevant for microbiome data. This configuration can be modified
#' by defining a different set of initial panels. By default, the visualised
#' panels include the following:
#' by defining a different set of initial panels. By default, the interface
#' includes the following panels:
#' \itemize{
#' \item \code{RowDataTable()}
#' \item \code{ColumnDataTable()}
Expand Down Expand Up @@ -38,12 +40,11 @@
#' }
#'
#' @docType methods
#' @aliases iSEE
#' iSEE,TreeSummarizedExperiment-method
#'
#' @name iSEE-default
#' @aliases iSEE,TreeSummarizedExperiment-method
#' @name iSEE
NULL

#' @rdname iSEE
#' @export
setGeneric("iSEE", iSEE::iSEE)

Expand Down
29 changes: 21 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,27 @@ objects which facilitate the interactive visualisation of microbiome data in
[_iSEE_](https://isee.github.io/).

## Installation instructions
The development version of iSEEtree can be installed from GitHub as follow:
The release version of iSEEtree can be installed from Bioconductor as follows:

```
remotes::install_github("microbiome/iSEEtree")
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")

BiocManager::install("iSEEtree")
```

Contributors or users interested in the latest functionality can install the
devel version of iSEEtree as follows:

```
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")

# The following initializes usage of Bioc devel
BiocManager::install(version='devel')

In the future, this package may be submitted to Bioconductor.
BiocManager::install("mia")
```

## Example
The basic functionality of iSEEtree can be explored as follows:
Expand Down Expand Up @@ -70,8 +84,7 @@ This package was developed using
## Code of Conduct
Please note that the iSEEtree project is released with a
[Contributor Code of Conduct](https://bioconductor.org/about/code-of-conduct/).
By contributing to this project, you agree to abide by its terms. If you come
across a bug or see potential for improvement, feel free to open an issue and we
will plan the next move. is missing or could be improved. If you are interested
in contributing, you can check [our issues](https://github.com/microbiome/iSEEtree/issues)
and try to find a solution. Either way, contributions are very much appreciated.
By contributing to this project, you agree to abide by its terms. Contributions
are welcome in the form of feedback, issues and pull requests. You can find the
contributor guidelines of the miaverse
[here](https://github.com/microbiome/mia/blob/devel/CONTRIBUTING.md).
9 changes: 7 additions & 2 deletions man/AbundanceDensityPlot.Rd

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

9 changes: 7 additions & 2 deletions man/AbundancePlot.Rd

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

9 changes: 7 additions & 2 deletions man/RDAPlot.Rd

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

9 changes: 7 additions & 2 deletions man/RowTreePlot.Rd

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

47 changes: 0 additions & 47 deletions man/iSEE-default.Rd

This file was deleted.

Loading
Loading