View source: R/CommPath-visualization.R
pathPlot | R Documentation |
To present the interactions for a selected cluster, including the upstream clusters and the activated pathways in the selected cluster
pathPlot(
object,
select.ident,
up.ident = NULL,
acti.path.dat = NULL,
top.n.path = 5,
path.order = "P.val.adj",
select.path = "all",
p.thre = 0.05,
top.n.receptor = 10,
dot.ident.col = NULL,
dot.ident.size = 1,
dot.gene.col = NULL,
dot.gene.size = 1,
bar.pathway.col = NULL,
label.text.size = 1,
label.title.size = 1
)
object |
CommPath object |
select.ident |
Plot the activated pathways for which cluster or cell type? |
up.ident |
Upstream clusters in the communication chain; default is all clusters |
acti.path.dat |
Data frame of differential activation test result from diffAllPath |
top.n.path |
Top n pathways with the smallest adjusted p values to plot |
path.order |
Sort criteria used to select the top n pathways, either 'P.val' or 'P.val.adj', which represent the original and adjusted p values, or 'diff' which represents the mean (in t test) or median (in wilcox test) difference |
select.path |
Vector of pathways for which users want to present a chain plot; default is all, which means to plot all pathways. The parameter top.n.path would be masked if this one is set with specific pathways. |
p.thre |
Threshold for adjust p values; Only pathways with a adjust p valua < p.thre would be considered |
top.n.receptor |
Top n receptor with the largest log2FCs to plot |
dot.ident.col |
Color of the dots representing clusters |
dot.ident.size |
Size of the dots representing clusters |
dot.gene.col |
Color of the dots representing receptors |
dot.gene.size |
Size of the dots representing receptors |
bar.pathway.col |
Color of the bars reprsenting pathways |
label.text.size |
Text size in the plot |
label.title.size |
Text size of the title annotation of the plot |
Network plot showing the significantly activated pathways in the select cluster compared to all other clusters, receptors involved in the pathways, and the upstream clusters which show LR connections with the selected cluster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.