Description Usage Arguments Value Examples
View source: R/plot_singular_vectors.R
scatter plot of two singular vectors for a selected cluster
1 2 3 4 5 6 7 8 | plot_singular_vectors(
measure_obj,
cluster,
v1 = 1,
v2 = 2,
colour = NULL,
scaled = FALSE
)
|
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 |
ggplot plot
1 2 | data("out")
plot_singular_vectors(out, "Group2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.