Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Sep 17, 2024
1 parent 42848b9 commit 508bcc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data-raw/DATASET.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ logo <- ggstack(data = mat_scaled) +
) +
# add another heatmap
ggheatmap(expr$type) +
# set the heatmap body width, and remove the spaces in the y-axis
# set the heatmap body width
hmanno(width = unit(2, "cm")) +
scale_fill_brewer(palette = "Set3", name = "gene type") +
scale_x_continuous(breaks = NULL, name = "gene type") +
# add barplot in the top annotation
# add barplot in the top annotation, and remove the spaces in the y-axis
hmanno("t", free_spaces = "lr") +
ggalign(limits = FALSE) +
geom_bar(
Expand Down
4 changes: 2 additions & 2 deletions vignettes/articles/more-examples.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ ggstack(data = mat_scaled) +
) +
# add another heatmap
ggheatmap(expr$type) +
# set the heatmap body width, and remove the spaces in the y-axis
# set the heatmap body width
hmanno(width = unit(2, "cm")) +
scale_fill_brewer(palette = "Set3", name = "gene type") +
scale_x_continuous(breaks = NULL, name = "gene type") +
# add barplot in the top annotation
# add barplot in the top annotation, and remove the spaces in the y-axis
hmanno("t", free_spaces = "lr") +
ggalign(limits = FALSE) +
geom_bar(
Expand Down

0 comments on commit 508bcc1

Please sign in to comment.