Function to convert a single-cell count matrix and a corresponding single-cell cluster vector into a rank matrix that can be used with the Rank enrichment option.
makeSignMatrixRank(
sc_matrix,
sc_cluster_ids,
ties_method = c("random", "max"),
gobject = NULL
)
matrix of single-cell RNAseq expression data
vector of cluster ids
how to handle rank ties
if giotto object is given then only genes present in both datasets will be considered
matrix