plot_clust: Scatterplot of cluster means for indicated variables

View source: R/plotting.R

plot_clustR Documentation

Scatterplot of cluster means for indicated variables

Description

Features should be a column name from droplet_data

Usage

plot_clust(sce, feat_x = "score.debris", feat_y = "n_genes",
  log_x = TRUE, log_y = FALSE, ret = FALSE)

Arguments

sce

An SCE object.

feat_x

Feature to plot on the x-axis.

feat_y

Feature to plot on the y-axis.

log_x

Boolean indicating whether to log transform the x-axis.

log_y

Boolean indicating whether to log transform the y-axis.

ret

A logical specifying whether to return the ggplot object or just print it out.

Value

Nothing. If return=TRUE, then return a ggplot object


marcalva/diem documentation built on Jan. 1, 2023, 2:33 a.m.