This is to calculate the similarity between: 1. the label propagation probability of cells for gene sets and 2. the identify of cells in a certain partition This is called by 'compute.spec'; can also run by itself
# S3 method for spec.single
compute(vec, positive, cell_df)specificity of a pathway activity and other levels of cell annotations (e.g., cell type)
cell partition vector (usually a column name in object@meta.data)
the positive label, e.g. "disease" or "cluster_1"
the output of run.rwr.list