View source: R/cellnetworksPPI_CellComm.R
cellnetworksPPI | R Documentation |
Create a graph based on gene expression correlation for the protein-protein interactions for each population. The edges are the intersection of the ones in the protein-protein interaction network and the ones obtained from the correlation of gene expression in the cells, the weights are the correlation value. The edge lists are saved to files.
cellnetworksPPI( ppi, expr, samples, corThr = 0, column, dir.prefix = "results/paths" )
ppi |
igraph graph; the network as calculated by the createPPI function. |
expr |
dgCMatrix; gene expression in each cell, found in CellRouter@ndata. |
samples |
data frame; the metadata information of the cells, found in CellRouter@sampTab. |
corThr |
numeric; correlation threshold. |
column |
character; character; column in the metadata table to specify how the data should be aggregated (e.g. per cell type, cluster or other metadata available). |
dir.prefix |
character; prefix of the directory where the files will be saved. |
list; the networks (igraph objects) for each cell type/cluster/other metadata.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.