CITMIC {CITMIC} | R Documentation |
CITMIC
Description
The function "CITMIC" is used to identify cell infiltration in tumor microenvironment by calculating intercellular crosstalk.
Usage
CITMIC(GEP,weighted = TRUE,base = 10,damping=0.90,cl.cores=1,cell.type=NULL)
Arguments
GEP |
An example gene expression profile. |
weighted |
This parameter specifies whether to create a weighted graph for the cell crosstalk network. If null, an unweighted graph is created, and the elements of the adjacency matrix indicate the number of edges between vertices. If true, a weighted graph is created(default: TRUE). |
base |
Standardized log base of data for improving data distribution(default: 10). |
damping |
Restart the probability of the random-walk algorithm (default: 0.9). |
cl.cores |
The number of CPU cores applied to this task(default:1). |
cell.type |
Preset the relevant cell type (e.g. if the solid tumour tissue does not contain 'HSC', it is better to remove it when we preset it.) |
Value
A data frame containing the cell infiltration score for each sample.
Examples
# Obtain the example data
GEP<-GetData_CITMIC("GEP")
# Run the function
lnScore<-CITMIC(GEP,weighted = TRUE,base = 10,damping=0.90,cl.cores=1,cell.type=NULL)