slingAdjacency {slingshot} | R Documentation |
Extract the adjacency matrix from an object containing
slingshot
output.
slingAdjacency(x) ## S4 method for signature 'SlingshotDataSet' slingAdjacency(x) ## S4 method for signature 'SingleCellExperiment' slingAdjacency(x)
x |
an object containing |
the matrix of connections between clusters, inferred by the MST.
SlingshotDataSet
: returns the adjacency matrix between
clusters from a SlingshotDataSet
object.
SingleCellExperiment
: returns the adjacency matrix between
clusters from a SingleCellExperiment
object.
data("slingshotExample") sds <- getLineages(rd, cl) slingAdjacency(sds)