This functions computes cluster medoids given an SCseq
object and a clustering partition.
compmedoids(object, part)
SCseq
class object.
Clustering partition. A vector of cluster numbers for (a subset of) cells (i.e. column names)
of slot ndata
from the SCseq
object.
Returns a list of medoids (column names of slot ndata
from the SCseq
object) ordered by increasing cluster number.