Skip to content

Commit

Permalink
refactor: use yaml style
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil committed Dec 26, 2023
1 parent b1aa4b2 commit 693c69b
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ output: github_document

<!-- README.md is generated from README.Rmd. Please edit that file -->

```{r, echo = FALSE}
```{r}
#| echo: false
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
Expand Down Expand Up @@ -55,7 +56,8 @@ if (file.exists(paste0(knitr::opts_chunk$get("fig.path"), "nacho_app.gif"))) {

## Installation

```{r, eval = FALSE}
```{r}
#| eval: false
# Install NACHO from CRAN:
install.packages("NACHO")
Expand All @@ -66,33 +68,41 @@ remotes::install_github("mcanouil/NACHO")

## Overview

```{r, echo = FALSE, results = "asis"}
```{r}
#| echo: false
#| results: asis
cat(readLines(file.path("inst", "app", "www", "about-nacho.md"))[-c(1, 2)], sep = "\n")
```

### Shiny Application ([demo](https://mcanouil.shinyapps.io/NACHO_data/))

```{r, eval = FALSE}
```{r}
#| eval: false
shiny::runApp(system.file("app", package = "NACHO"))
```
```{r, echo = FALSE}
```{r}
#| echo: false
knitr::include_graphics(sub(".*/man", "man", gif_app))
```


```{r, eval = FALSE}
```{r}
#| eval: false
visualise(GSE74821)
```

![](man/figures/README-visualise.png)

## Citing NACHO

```{r, echo = FALSE, results = "asis"}
```{r}
#| echo: false
#| results: asis
print(citation("NACHO"), "html")
```

```{r, echo = FALSE, comment = ""}
```{r}
#| echo: false
#| comment: ""
print(citation("NACHO"), "bibtex")
```

Expand Down

0 comments on commit 693c69b

Please sign in to comment.