FeaturePlotDims: Plots 2d embedding with feature overlayed

Description Usage Arguments Value

View source: R/swne_plotting.R

Description

Plots 2d embedding with feature overlayed

Usage

1
2
3
4
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")

Arguments

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

Value

ggplot2 object with dim plot with feature overlayed


yanwu2014/swne documentation built on Dec. 7, 2018, 8:55 a.m.