BuildCCInx | R Documentation |
This function takes a list of gene statistics per cluster to predict
cell-cell interactions between each cell-type (cluster). If the
GeneStatistic
argument is provided, this function will assume the gene
statistics represent differential expression between experimental conditions,
and will weight the predicted interactions accordingly. Otherwise,
predictions will be weighted by expression magnitude per cell type. The
output of this function can be explored interactively with
ViewCCInx
, or static figures can be generated with
PlotCCInx
.
BuildCCInx( GeneStatList, GeneMagnitude = "MeanNormGeneExpr", GeneStatistic, Species = "hsapiens" )
GeneStatList |
A named list of dataframes. Each list element should
represent a cell type / cluster to be included in the interaction network,
and should be named accordingly. List elements should contain data frames
where each row is a gene with official gene symbols as row names. Variables
should be appropriately named statistics or annotations to be included in
the resulting node metadata. Variable names should be consistent between
list elements. The function |
GeneMagnitude |
Default = "MeanNormGeneExpr". A character vector of length 1
representing the variable name in the GeneStatList data frames carrying
information on the magnitude (and direction of the change) of expression
for the node (gene) in each cell type. This is either a measure of
expression (generally mean expression or detection rate) or a measure of
change (signed log expression ratio a.k.a. logFC). Default assumes
|
GeneStatistic |
Optional. A character vector of length 1 representing the variable name in the GeneStatList data frames carrying information on the statistical significance of expression change. This is generally a corrected p-value. |
Species |
Default='hsapiens'. The species of the source data. One of 'hsapiens' or 'mmusculus'. Note that the ligand-receptor database was built for human, and the mouse version is generated by homology mapping (only using uniquely mapped homologues). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.