CellCirclePlot: Generate a circle plot of significant cell-cell connections

Description Usage Arguments Value Examples

View source: R/plotting.R

Description

Given a file generated by the EvaluateConnections function, subsets according to adjusted P-value and plots the significant cell-cell connections. Uses the igraph package for network plotting.

Usage

1
2
3
4
5
6
7
8
9
CellCirclePlot(
  input.file,
  adj_pval_thresh = 0.05,
  title = NULL,
  col.set = NULL,
  arrow.size = 0.6,
  arrow.width = 2,
  edge.multi = 0.02
)

Arguments

input.file

input file

adj_pval_thresh

adjusted p-value threshold for defining significance

title

optional title for the plot

col.set

named vector of colour codes to fill node colours

lab.weight.thresh

minimum weight for labelling populations in the plot.

Value

a ggplot2 object.

Examples

1
2
3
4
## Not run: 
CellCirclePlot(input.file = input.file)

## End(Not run)

VCCRI/scTalk documentation built on June 5, 2021, 6:35 a.m.