cluster_scatter: Scatter plot for genes

View source: R/plot.R

cluster_scatterR Documentation

Scatter plot for genes

Description

Scatter plot for alignment result after dimensionality reduction.

Usage

cluster_scatter(
  dat,
  mapping = "umap",
  group = NULL,
  size = 1,
  text = T,
  text_group = NULL,
  text_color = "black",
  text_size = 5,
  segment_size = 0.75,
  text_face = "bold"
)

Arguments

dat

Seurat/monocle object.

mapping

Name of reduction to pull cell embeddings for. Only for Seurat object.

group

Factor. Grouping information of each gene. Must contain the same length of genes.

size

Numeric. The point size of scatter plot. Default:1.

text

Logical. If TRUE, gene family will be labeled at scatter plot. Default:T.

text_group

Factor. Grouping information of labeled gene family. Must contain the same length of genes.

text_color

Character. Colors of labeled gene family. Default:"black".

text_size

Numeric. The gene family text size of scatter plot. Default:5.

segment_size

Numeric. The segment size of scatter plot. Default:0.75.

text_face

Character. fontface of labeled gene family.

Value

Scatter plot for genes.


Busydog1990/genepro documentation built on July 20, 2023, 6:03 a.m.