Skip to content

Commit

Permalink
CRAN release 0.1.1: fix vignette missing gif
Browse files Browse the repository at this point in the history
  • Loading branch information
mvfki committed Dec 15, 2023
1 parent 7cfa1bb commit 996339f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: CytoSimplex
Type: Package
Title: Simplex Visualization of Cell Fate Similarity in Single-Cell Data
Version: 0.1.0
Version: 0.1.1
Authors@R: c(
person(given = 'Yichen', family = 'Wang', email = '[email protected]',
role = c('aut', 'cre'), comment = c(ORCID = "0000-0003-4347-5199")),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@

- Initial release version.

## CytoSimplex 0.1.1

- Fix vignette GIF picture linking issue

Binary file added inst/figure/rotating_tetra.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 2 additions & 6 deletions vignettes/CytoSimplex.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,15 @@ plotQuaternary(rnaRaw, clusterVar = rnaCluster, vertices = vt.quat,

We have also implemented of GIF image generator that rotates the tetrahedron rounding the z-axis. Note that package `magick` is required for this feature. (<a href="https://cran.r-project.org/package=magick/vignettes/intro.html#Installing_magick" target="_blank">See here for how to install `magick` in detail</a>)

```{R writeGIF, results="hide"}
```{R writeGIF, eval=FALSE, results="hide"}
writeQuaternaryGIF(rnaRaw, clusterVar = rnaCluster, vertices = vt.quat,
features = gene.quat, veloGraph = rnaVelo,
gifPath = "rotating_tetra.gif")
```

```{R showGIF, echo = FALSE}
if (!knitr:::is_latex_output()) {
knitr::include_graphics("rotating_tetra.gif")
knitr::include_graphics(system.file("figure/rotating_tetra.gif", package = "CytoSimplex"))
}
```

```{R unlinkFile, include=FALSE}
unlink("rotating_tetra.gif")
```

0 comments on commit 996339f

Please sign in to comment.