plot_network: make a network plot of a set of co-expressed features

Description Usage Arguments

Description

make a network plot of a set of co-expressed features

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_network(
  mat_datExpr,
  vec_geneImportance,
  vec_genes_highlight = c(),
  n_max_genes = 50,
  igraph_algorithm = "drl",
  fontface_labels = "bold.italic",
  color_edge = "grey70",
  edge_thickness = 1
)

Arguments

mat_datExpr

gene * sample expression matrix

vec_geneImportance

vector of weights with corresponding features as names

vec_genes_highlight

optional vector of genes to highlight

n_max_genes

max number of genes to include, in order of weight

igraph_algorithm

passed as the algorithm argument to ggraph()

fontface_labels

one of 'normal', 'bold', 'italic', 'bold italic'

color_edge

color for network edges, character

edge_thickness

controls edge thickness, which varies by co-expression


CBMR-Single-Cell-Omics-Platform/SCOPfunctions documentation built on May 29, 2021, 3:52 p.m.