Skip to content

Commit

Permalink
change defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-marsh committed Apr 21, 2022
1 parent 31895ef commit 6bfe1c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/visualization.R
Original file line number Diff line number Diff line change
Expand Up @@ -1873,7 +1873,7 @@ CellScatter <- function(
#' @param feature2 Second feature to plot.
#' @param cells Cells to include on the scatter plot.
#' @param shuffle Whether to randomly shuffle the order of points. This can be
#' useful for crowded plots if points of interest are being buried. (default is FALSE)
#' useful for crowded plots if points of interest are being buried. (default is TRUE)
#' @param seed Sets the seed if randomly shuffling the order of points.
#' @param group.by Name of one or more metadata columns to group (color) cells by
#' (for example, orig.ident); pass 'ident' to group by identity class
Expand All @@ -1890,7 +1890,7 @@ CellScatter <- function(
#' 100,000
#' @param raster.dpi Pixel resolution for rasterized plots, passed to geom_scattermore().
#' Default is c(512, 512).
#' @param jitter Jitter for easier visualization of crowded points
#' @param jitter Jitter for easier visualization of crowded points (default is FALSE)
#'
#' @return A ggplot object
#'
Expand All @@ -1911,7 +1911,7 @@ FeatureScatter <- function(
feature1,
feature2,
cells = NULL,
shuffle = FALSE,
shuffle = TRUE,
seed = 1,
group.by = NULL,
cols = NULL,
Expand All @@ -1924,7 +1924,7 @@ FeatureScatter <- function(
plot.cor = TRUE,
raster = NULL,
raster.dpi = c(512, 512),
jitter = TRUE
jitter = FALSE
) {
cells <- cells %||% colnames(x = object)
if (isTRUE(x = shuffle)) {
Expand Down

0 comments on commit 6bfe1c6

Please sign in to comment.