View source: R/convenience_fxns.R
rename_clusters | R Documentation |
This function reads in a receptor ligand signaling database, cell level features of some kind (ie. output from pySCENIC), z-scored single cell data, and cluster id for single cell data, calculates a correlation matrix between receptors and other features (this is transcription factor module scores if using pySCENIC), and finds features enriched by cluster. It will return a domino object prepared for build_domino, which will calculate a signaling network.
rename_clusters(dom, clust_conv)
dom |
A domino object to rename clusters in |
clust_conv |
A named vector of conversions from old to new clusters. Values are taken as new clusters IDs and names as old cluster IDs. |
A domino object with clusters renamed in all applicable slots.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.