plot_WGCNA_net: Plot gene-gene correlation network in a WGCNA cluster

Description Usage Arguments

Description

Plot gene-gene correlation network in a WGCNA cluster

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_WGCNA_net(
  x,
  color_row,
  celltype = "all",
  feature = "revised",
  scale_edge_weight = 0.2,
  scale_node_size = 0.2,
  threshold = 0.5,
  return_igraph = F
)

Arguments

x

a Seurat object

color_row

a vector of gene names

feature

which metadata entry the cell type information is stored. Ignore it if cell_type='all'

scale_edge_weight

adjust the weight of the lines

scale_node_size

adjust the relative node size

threshold

only gene-gene pair with correlation beyond a threshold will be selected

return_igraph

whether igraph object will be returned or whether it will be plotted

cell_type

the cell type in which correlation is computed. By default, all cell types will be used


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.