R/label_transfer.R
MajorityVote.Rd
Majority voting to harmonise cell labels on given over clusters
MajorityVote(
feature.mat = NULL,
over.clusters = NULL,
cell.types,
k = 20,
min.prop = 0
)
A signature score matrix for over clustering, rows are cells, columns are features.
A named vector contains clusters for majority vote. Default: NULL
A data.frame recording cell types at different granularity.
k of kmeans for over cluster. Default: 20
The minimum proportion of cells required to support naming of the subcluster by a cell type. Default: 0
A data.frame contains consensus predicted cell types.