graph_gene: Plot trajectory colored by expression level of a gene

Description Usage Arguments Value Examples

View source: R/SLICER.R

Description

This function plots the embedding produced by LLE, coloring cells by their expression levels of a gene of interest.

Usage

1
2
graph_gene(exp_mat, embedding, samples, gene_ind, cell_symbols = 16,
  title = "Gene Expression")

Arguments

exp_mat

Matrix of expression levels

embedding

Low-dimensional LLE embedding of cells

samples

Indices of cells to include in the plot

gene_ind

Index of gene to use

cell_symbols

Symbols to use for plotting each cell

title

Plot title

Value

None

Examples

1
2
3
4
## Not run: 
graph_gene(traj,traj_lle,1:nrow(traj),1)

## End(Not run)

SLICER documentation built on May 1, 2019, 6:32 p.m.