powered by
This function plots the embedding produced by LLE, coloring cells by their expression levels of a gene of interest.
graph_gene(exp_mat, embedding, samples, gene_ind, cell_symbols = 16, title = "Gene Expression")
Matrix of expression levels
Low-dimensional LLE embedding of cells
Indices of cells to include in the plot
Index of gene to use
Symbols to use for plotting each cell
Plot title
None
# NOT RUN { graph_gene(traj,traj_lle,1:nrow(traj),1) # }
Run the code above in your browser using DataLab