plot_graph: Plot the nearest neighbour graph in the embedding

Description Usage Arguments Value Examples

View source: R/embeddr.R

Description

This plots the cells in the reduced dimension and connects cells if they are connected in the nearest neighbour graph W. A vertice between cells i and j is coloured red if both i and j are nearest neigbours of each other and grey otherwise.

Usage

1

Arguments

sce

An object of class SCESet

Value

A ggplot graphic

Examples

1
2
3
4
library(scater)
data('sc_example_counts') ; sce <- newSCESet(countData = sc_example_counts)
sce <- embeddr(sce)
plot_graph(sce)

kieranrcampbell/embeddr documentation built on May 20, 2019, 9:24 a.m.