plot_singular_vectors: Plot singular vectors for a cluster

Description Usage Arguments Value Examples

View source: R/plot_singular_vectors.R

Description

scatter plot of two singular vectors for a selected cluster

Usage

1
2
3
4
5
6
7
8
plot_singular_vectors(
  measure_obj,
  cluster,
  v1 = 1,
  v2 = 2,
  colour = NULL,
  scaled = FALSE
)

Arguments

measure_obj

the measure-object as the output of sigma_funct

cluster

the name of the cluster of interest, e.g. "Pod"

v1

index of vector to plot on the x-axis, default is 1

v2

index of vector to plot on the y-axis, default is 1

colour

either a gene name or a vector the same length as the number of cells, default is NULL (no colour)

scaled

TRUE/FALSE, if the scaled expression of a gene should be shown, default is FALSE

Value

ggplot plot

Examples

1
2
data("out")
plot_singular_vectors(out, "Group2")

Siliegia/SIGMA documentation built on Dec. 18, 2021, 2 p.m.