Skip to content

Commit

Permalink
Use the same usage definition in vis_gene_p() as in vis_gene(). Try t…
Browse files Browse the repository at this point in the history
…o workaround r-lib/pkgdown#2727
  • Loading branch information
lcolladotor committed Jul 17, 2024
1 parent 76a282d commit 6f168a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions R/vis_gene_p.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ vis_gene_p <-
viridis = TRUE,
image_id = "lowres",
alpha = NA,
cont_colors = if (viridis) {
viridisLite::viridis(21)
} else {
c("aquamarine4", "springgreen", "goldenrod", "red")
},
cont_colors = if (viridis) viridisLite::viridis(21) else c("aquamarine4", "springgreen", "goldenrod", "red"),
point_size = 2,
auto_crop = TRUE,
na_color = "#CCCCCC40",
Expand Down
2 changes: 1 addition & 1 deletion man/vis_gene_p.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6f168a3

Please sign in to comment.