histogramPlot | R Documentation |
Generate a histogram for a pair of ligand and receptor.
histogramPlot( data, idents, ligand, receptor, ligand.ident, receptor.ident, breaks = NULL, nbins = 100, freq = FALSE, cols.use = c("pink", "lightblue"), alpha = 0.7, ... )
data |
Data matrix to plot |
idents |
Cell type identity. |
ligand |
Ligand name. |
receptor |
Receptor name. |
ligand.ident |
Cell identity to plot for ligand. |
receptor.ident |
Cell identity to plot for receptor. |
breaks |
A vector giving the breakpoints between histogram cells. Default is NULL. |
nbins |
Number of bins to use for histogram when breaks option is NULL. Default is 100. |
freq |
Histogram of frequencies. Default is FALSE. |
cols.use |
Two color code used for ligand and receptor. Default is pink and lightblue. |
alpha |
Color transparency. Default is 0.7 |
... |
Additional argument passing to |
Plot a histogram.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.