Skip to content

Commit 9b1739c

Browse files
committed
omicslog first blog
1 parent 63d95f1 commit 9b1739c

File tree

1 file changed

+5
-5
lines changed
  • posts/2025-11-04-introducing-omicslog

1 file changed

+5
-5
lines changed

posts/2025-11-04-introducing-omicslog/index.qmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ We started by enabling logging for the `SummarizedExperiment` class, powered by
2929

3030
Let’s start with a practical example, beginning with the package installation and library loading:
3131

32-
```{r, echo=FALSE, messages=FALSE, warnings=FALSE}
32+
```r
3333
if (!require("devtools", quietly = TRUE))
3434
install.packages("devtools")
3535

@@ -42,7 +42,7 @@ library(omicslog)
4242

4343
For this example, we worked with the `airway` dataset. To extend `tidyomics` with `omicslog`, it is only necessary to add the `log_start()` function before applying the different filtering criteria:
4444

45-
```{r}
45+
```r
4646
data(airway, package="airway")
4747

4848
result <-
@@ -60,7 +60,7 @@ result
6060
```
6161

6262
:::{.smaller}
63-
```{r}
63+
```r
6464
#> # A SummarizedExperiment-tibble abstraction: 1 × 22
6565
#> # Features=1 | Samples=1 | Assays=counts
6666
#> .feature .sample counts SampleName cell treat Run avgLength
@@ -85,7 +85,7 @@ As a result, the `metadata` shows a short description of the different modificat
8585

8686
Notwithstanding, `omicslog` can also work with base R commands by simply adding the dataset name to the `log_start()` function:
8787

88-
```{r}
88+
```r
8989
options(restore_SummarizedExperiment_show = TRUE)
9090

9191
result_base <- log_start(airway) # Starting the logging operations
@@ -99,7 +99,7 @@ result_base
9999
```
100100

101101
:::{.smaller}
102-
```{r}
102+
```r
103103
#> class: SummarizedExperimentLogged
104104
#> dim: 1 4
105105
#> metadata(1): ''

0 commit comments

Comments
 (0)