Description Usage Arguments Details Examples
This will plot information onto a 2d scatter (Gene 1 v Gene 2)
1 2 3 4 5 6 7 8 9 10 11 12 | plot_scatter(
input,
gene1,
title = "",
gene2,
color_by,
facet_by = "NA",
ncol = "NA",
size = 2,
colors = "NA",
logscale = FALSE
)
|
input |
The input data |
gene1 |
The first gene for scatter plot |
title |
The plot title |
gene2 |
The second gene for scatter plot |
color_by |
What to color points by, either "UMI_sum" or pData categorial variable |
facet_by |
What to break the plots by |
ncol |
How many columns if faceting |
size |
The size of the points |
colors |
What colors to utilize for categorial data. Be sure it is of the proper length! |
Utilize information stored in pData to control the plot display.
1 | plot_scatter(input = ex_sc_example, title = "Plot", gene1 = "Ccl22", gene2 = "Ccl5", color_by = "Cluster", facet_by = "Timepoint")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.