View source: R/swne_plotting.R
FeaturePlotDims | R Documentation |
Plots 2d embedding with feature overlayed
FeaturePlotDims(
dim.scores,
feature.scores,
feature.name = NULL,
x.lab = "tsne1",
y.lab = "tsne2",
alpha.plot = 0.5,
quantiles = c(0.01, 0.99),
show.axes = T,
pt.size = 1,
font.size = 12,
color.palette = "YlOrRd"
)
dim.scores |
2D embedding coordinates. Must be N x 2 samples |
feature.name |
Name of feature |
x.lab |
X axis label |
y.lab |
Y axis label |
alpha.plot |
Data point transparency |
quantiles |
Quantiles to trim outliers from |
show.axes |
Plot x and y axes |
pt.size |
Sample point size |
font.size |
Font size for axis labels |
color.palette |
RColorbrewer palette to use |
feature.score |
Feature vector to overlay |
ggplot2 object with dim plot with feature overlayed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.