Gene Expression Scatterplot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | plotScatter(
object,
label.x,
label.y,
label.color = NULL,
label.x.type = "search",
label.y.type = "search",
label.color.type = "search",
cells = NULL,
point.size = 1,
point.alpha = 1,
xlim = NULL,
ylim = NULL,
density.background = T,
density.color = "#888888",
density.bandwidth = 1,
density.bins = 128,
density.exclude.origin = T,
xlab = label.x,
ylab = label.y,
colorlab = label.color,
title = "",
legend = T
)
|
object |
An URD object |
label.x |
(Character) Value to plot on the x-axis |
label.y |
(Character) Value to plot on the y-axis |
label.color |
(Character) Value to plot as point color |
label.x.type |
(Character) Where to look for the label.x; Default is "search" which looks in order: "meta", "group", "sig", "gene", "pseudotime", "pc", "diff.data" |
label.y.type |
(Character) Where to look for the label.y; Default is "search" which looks in order: "meta", "group", "sig", "gene", "pseudotime", "pc", "diff.data" |
label.color.type |
(Character) Where to look for the label.color; Default is "search" which looks in order: "meta", "group", "sig", "gene", "pseudotime", "pc", "diff.data" |
cells |
(Character vector) Names of cells to include in the plot (Default, |
point.size |
(Numeric) Adjust size of points on the plot |
point.alpha |
(Numeric) Adjust transparency of points on the plot |
xlim |
(Numeric vector) X-axis limits (Default |
ylim |
(Numeric vector) Y-axis limits (Default |
density.background |
(Logical) Should |
density.color |
(Character) Darkest color of the density scale |
density.bandwidth |
(Numeric) The kernel bandwidth used in calculating the density background is multiplied by this factor. |
density.bins |
(Numeric) Number of bins to use for 2D kernel estimation. |
density.exclude.origin |
(Logical) Whether values with expression (0,0) should be excluded from the density calculation. (The number of non-expressing cells can often overwhelm the density calculation and make it useless if the genes plotted are specific to a particular lineage and |
xlab |
(Character) X-axis label |
ylab |
(Character) Y-axis label |
colorlab |
(Character) Color guide label |
title |
(Character) Title of plot |
legend |
(Logical) Display a legend |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.