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

Extra docs vignette markdownboard #116

Merged
merged 7 commits into from
Mar 26, 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
6 changes: 3 additions & 3 deletions .github/workflows/check-bioc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
fail-fast: false
matrix:
config:
- { os: ubuntu-latest, r: 'devel', bioc: '3.17', cont: "bioconductor/bioconductor_docker:devel", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
- { os: macOS-latest, r: 'devel', bioc: '3.17'}
- { os: windows-latest, r: 'devel', bioc: '3.17'}
- { os: ubuntu-latest, r: 'devel', bioc: 'devel', cont: "bioconductor/bioconductor_docker:devel", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
- { os: macOS-latest, r: 'devel', bioc: 'devel'}
- { os: windows-latest, r: 'devel', bioc: 'devel'}
## Check https://github.com/r-lib/actions/tree/master/examples
## for examples using the http-user-agent
env:
Expand Down
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: iSEEu
Type: Package
Title: iSEE Universe
Version: 1.15.0
Date: 2023-03-10
Version: 1.15.1
Date: 2024-03-07
Authors@R:
c(
person("Kevin",
Expand Down Expand Up @@ -73,6 +73,6 @@ BugReports: https://github.com/iSEE/iSEEu/issues
biocViews: ImmunoOncology, Visualization, GUI, DimensionReduction,
FeatureExtraction, Clustering, Transcription,
GeneExpression, Transcriptomics, SingleCell, CellBasedAssays
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Roxygen: list(markdown = TRUE)
VignetteBuilder: knitr
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# iSEEu 1.15.1

* Expanded the content of the vignette, to have `AggregatedDotPlot()` and
the `MarkdownBoard()` panels highlighted

# iSEEu 1.11.2

* Adjusted code to correctly parse and rename KEGG pathway identifiers.
Expand Down
1 change: 1 addition & 0 deletions man/iSEEu-pkg.Rd

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

65 changes: 65 additions & 0 deletions vignettes/iSEEu.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,71 @@ This is useful for applying sequential restrictions on the data, equivalent to g
- `modeReducedDim()` will launch an app with multiple reduced dimension plots.
This is useful for examining different views of large high-dimensional datasets (e.g., single-cell studies).

# Miscellaneous panels

`r Biocpkg("iSEEu")` also includes a number of other panel types, that one can find useful within different contexts.

Coupled to each chunk of code listed below, it is possible to display a screenshot of the app showcasing them.

**AggregatedDotPlot**

```{r}
app <- iSEE(
sce,
initial = list(
AggregatedDotPlot(
ColumnDataLabel="Primary.Type",
CustomRowsText = "Rorb\nSnap25\nFoxp2",
PanelHeight = 500L,
PanelWidth = 8L
)
)
)

## To be later run as...
# app
## ... or
# shiny::runApp(app)
```

```{r, echo=FALSE}
SCREENSHOT("screenshots/aggrodotplot.png", delay=30)
```

This can be very useful as an alternative to the `ComplexHeatmapPlot` panel, as sometimes it is not just about the shifts in average expression levels, but true biological signal can be found e.g. in scenarios such as differential detection.

**MarkdownBoard**

The `MarkdownBoard` panel class renders Markdown notes, user-supplied, into HTML to display inside the app.

```{r}
app <- iSEE(
sce,
initial = list(
MarkdownBoard(
Content = "# `iSEE` notepad\n\nYou can enter anything here.\n\nA list of marker genes you might be interested into:\n\n- Snap25\n- Rorb\n- Foxp2\n\nThis makes it easier to copy-paste while staying inside `iSEE`. \nAs you can notice, the full power of markdown is at your service.\n\nHave fun exploring your data, in an even more efficient manner!\n",
PanelWidth = 8L,
DataBoxOpen = TRUE
)
)
)

## To be later run as...
# app
## ... or
# shiny::runApp(app)
```

This is useful for displaying information alongside other panels, or for users to simply jot down their own notes (and re-use them more efficiently later).

```{r, echo=FALSE}
SCREENSHOT("screenshots/markdownboard.png", delay=30)
```

The content of the `MarkdownBoard` is included in the `Data parameters` portion of the panel, as visible in the screenshot.

`r Biocpkg("iSEE")` will take care of rendering your notes into good-looking yet simple HTML, that can embedded in a variety of analytic workflows for the data under inspection.

# Contributing to `r Biocpkg("iSEEu")`

If you want to contribute to the development of the `r Biocpkg("iSEEu")` package, here is a quick step-by-step guide:
Expand Down
Binary file added vignettes/screenshots/aggrodotplot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added vignettes/screenshots/markdownboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading