Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit 0deb46b

Browse files
committed
Style vignettes
1 parent 2a552b9 commit 0deb46b

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

vignettes/Introduction.Rmd

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,11 @@ counts |>
274274
counts |>
275275
ggplot(aes( disease, `HLA.A`,color = file_id)) +
276276
geom_jitter(shape=".") +
277-
theme(legend.position = "none")
277+
theme_bw() +
278+
theme(
279+
axis.text.x = element_text(angle = 60, vjust = 1, hjust = 1),
280+
legend.position = "none"
281+
)
278282
```
279283

280284
```{r}
@@ -287,11 +291,15 @@ metadata |>
287291
get_single_cell_experiment(assays = "cpm", features = "HLA-A") |>
288292
suppressMessages() |>
289293
290-
# Plot (styling code have been omitted)
294+
# Plot
291295
tidySingleCellExperiment::join_features("HLA-A", shape = "wide") |>
292-
ggplot(aes(tissue_harmonised, `HLA.A`,color = file_id)) +
293-
geom_jitter(shape=".") +
294-
theme(legend.position = "none")
296+
ggplot(aes(tissue_harmonised, `HLA.A`, color = file_id)) +
297+
theme_bw() +
298+
theme(
299+
axis.text.x = element_text(angle = 60, vjust = 1, hjust = 1),
300+
legend.position = "none"
301+
) +
302+
geom_jitter(shape=".")
295303
```
296304

297305
## Obtain Unharmonised Metadata

0 commit comments

Comments
 (0)