projectData | R Documentation |
A diffusion process is used to smooth genes’ expression values based on their neighbors’ defined in a high-confidence experimentally validated protein-protein network.
projectData(
object,
adjMatrix,
alpha = 0.5,
normalizeAdjMatrix = c("rows", "columns")
)
object |
CellChat object |
adjMatrix |
adjacency matrix of protein-protein interaction network to use |
alpha |
numeric in [0,1] alpha = 0: no smoothing; a larger value alpha results in increasing levels of smoothing. |
normalizeAdjMatrix |
how to normalize the adjacency matrix possible values are 'rows' (in-degree) and 'columns' (out-degree) |
This function is useful when analyzing single-cell data with shallow sequencing depth because the projection reduces the dropout effects of signaling genes, in particular for possible zero expression of subunits of ligands/receptors
a projected gene expression matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.