View source: R/gsdensity_functions.R
compute.spec.single | R Documentation |
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 class 'spec.single'
compute(vec, positive, cell_df)
vec |
cell partition vector (usually a column name in object@meta.data) |
positive |
the positive label, e.g. "disease" or "cluster_1" |
cell_df |
the output of run.rwr.list |
specificity of a pathway activity and other levels of cell annotations (e.g., cell type)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.