Skip to content

Commit d15ab5a

Browse files
committed
Merge branch 'main' into gh-pages
2 parents fb6eb0e + 1cb55f5 commit d15ab5a

5 files changed

Lines changed: 15 additions & 7 deletions

File tree

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@
88
^docs$
99
^pkgdown$
1010
^vignettes/rotating_tetra\.gif$
11+
\.h5ad$
12+
\.loom$

DESCRIPTION

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
Package: CytoSimplex
22
Type: Package
33
Title: Simplex Visualization of Cell Fate Similarity in Single-Cell Data
4-
Version: 0.1.99
4+
Version: 0.2.0
5+
Date: 2025-04-22
56
Authors@R: c(
67
person(given = 'Yichen', family = 'Wang', email = 'wayichen@umich.edu',
78
role = c('aut', 'cre'), comment = c(ORCID = "0000-0003-4347-5199")),
@@ -14,7 +15,7 @@ Maintainer: Yichen Wang <wayichen@umich.edu>
1415
Description: Create simplex plots to visualize the similarity between
1516
single-cells and selected clusters in a 1-/2-/3-simplex space.
1617
Velocity information can be added as an additional layer.
17-
See Liu J, Wang Y et al (2023) <doi:10.1101/2023.12.07.570655> for more details.
18+
See Liu J, Wang Y et al (2023) <doi:10.1093/bioinformatics/btaf119> for more details.
1819
URL: https://welch-lab.github.io/CytoSimplex/, https://github.com/welch-lab/CytoSimplex
1920
License: GPL-3
2021
Encoding: UTF-8
@@ -47,6 +48,6 @@ Suggests:
4748
SingleCellExperiment,
4849
SummarizedExperiment,
4950
testthat (>= 3.0.0)
50-
RoxygenNote: 7.3.1
51+
RoxygenNote: 7.3.2
5152
Config/testthat/edition: 3
5253
VignetteBuilder: knitr

R/quaternary.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,16 @@ plotQuaternary.default <- function(
174174
return(plotQuaternary(x = simMat, veloMat = veloMat,
175175
colorArg = colorArg, ...))
176176
} else {
177+
# If specified in `...`, use that. Otherwise, always assume the default
178+
# to be `TRUE`. Note an instance of this parameter does not exist yet,
179+
# thus created.
177180
interactive <- list(...)$interactive %||% TRUE
178181
if (isTRUE(interactive)) {
179182
cli::cli_alert_warning(
180183
"Interactive view with {.pkg plotly} can show desired cluster(s) by clicking on the legend. Ignoring {.var byCluster}."
181184
)
182185
return(plotQuaternary(
183-
x = simMat, veloMat = veloMat, colorArg = colorArg,
184-
interactove = TRUE, ...
186+
x = simMat, veloMat = veloMat, colorArg = colorArg, ...
185187
))
186188
}
187189
if (identical(byCluster, "all")) {

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ We have created a [documentation website](https://welch-lab.github.io/CytoSimple
3232

3333
## Citation
3434

35-
If you used CytoSimplex in your work, please cite the following work:
35+
If you used CytoSimplex in your work, please cite the following work published on *Bioinformatics*:
3636

37-
>[Jialin Liu, Yichen Wang, Chen Li, Yichen Gu, Noriaki Ono and Joshua D. Welch, CytoSimplex: Visualizing Single-cell Fates and Transitions on a Simplex, 2023, bioRxiv](https://doi.org/10.1101/2023.12.07.570655)
37+
>Jialin Liu, Yichen Wang, Chen Li, Yichen Gu, Noriaki Ono and Joshua D. Welch, CytoSimplex: Visualizing Single-cell Fates and Transitions on a Simplex, 2025, *Bioinformatics*, [(https://doi.org/10.1093/bioinformatics/btaf119)](https://doi.org/10.1093/bioinformatics/btaf119)

tests/testthat/test-quaternary.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ test_that("Test quaternary - sparse", {
4343
expect_no_error(plotQuaternary(rnaRaw, rnaCluster, vertices, gene,
4444
veloGraph = rnaVelo, interactive = TRUE,
4545
title = "All cells"))
46+
expect_message(plotQuaternary(rnaRaw, rnaCluster, vertices, gene, byCluster = TRUE,
47+
interactive = TRUE),
48+
"can show desired cluster\\(s\\) by clicking on the legend")
4649
})
4750

4851
test_that("Test quaternary - dense", {

0 commit comments

Comments
 (0)