Description Usage Arguments Value Examples
This plot makes bar plots for ligand expression, receptor expression, raw interaction scores and normalized interaction scores for a specific ligand-receptor pair
1 2 3 4 5 6 7 8 9 10 11 | plot_sig_bar(
ligand_exprs,
receptor_exprs,
cell_labels,
filenames,
raw_color,
norm_color,
ligand_name,
receptor_name,
y_lim = 1
)
|
ligand_exprs |
a numeric vector of ligand expression values across cell types |
receptor_exprs |
a numeric vector of receptor expression values across cell types |
cell_labels |
a character vector of cell type labels |
filenames |
prefix for the name of the figures |
raw_color |
color for the bar plot of raw interaction scores |
norm_color |
color for the bar plot of normalized interaction scores |
ligand_name |
name of the ligand |
receptor_name |
name of the receptor |
ylim |
maximum y axis for the normalized interaction scores.Default is 1 |
returns bar plots of ligand and receptor expression, as well as raw and normalized interaction scores
1 | plot_sig_bar(c(5,1,200),c(5,1,200),c("A","B","C"),"Figure4A_baseline",'slateblue3','slateblue1',"EGF","EGFR",1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.