From 6f168a324290b759e9ecc7b3bbbc55ad5f3c1773 Mon Sep 17 00:00:00 2001 From: lcolladotor Date: Wed, 17 Jul 2024 09:12:15 -0400 Subject: [PATCH] Use the same usage definition in vis_gene_p() as in vis_gene(). Try to workaround https://github.com/r-lib/pkgdown/issues/2727 --- R/vis_gene_p.R | 6 +----- man/vis_gene_p.Rd | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/R/vis_gene_p.R b/R/vis_gene_p.R index baeee29e..48741fa9 100644 --- a/R/vis_gene_p.R +++ b/R/vis_gene_p.R @@ -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", diff --git a/man/vis_gene_p.Rd b/man/vis_gene_p.Rd index b905af47..ca9d6a29 100644 --- a/man/vis_gene_p.Rd +++ b/man/vis_gene_p.Rd @@ -109,7 +109,7 @@ if (enough_ram()) { } } \seealso{ -Other Spatial gene visualization functions: +Other Spatial gene visualization functions: \code{\link{vis_gene}()}, \code{\link{vis_grid_gene}()} }