PlotSteinertree: Plot steiner tree

Description Usage Arguments

View source: R/PlotSteinertree.R

Description

show the steiner tree of given clusters

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
PlotSteinertree(
  object,
  ident = NULL,
  geneset1 = NULL,
  geneset2 = NULL,
  nodes = NULL,
  method = "sp",
  weighted = T,
  onlysteiner = T,
  typeof_node_size = c("pagerank", "degree"),
  only_label_terminal = F,
  label_num = 20
)

Arguments

ident

which class you want to show, default: all

geneset1

If ident == NULL, then you should provide two set of genes to compare

geneset2

same to geneset1

nodes

the nodes you want to labeled in the Steiner tree, if it is NULL (default), see 'label_num'

method

how to find steinertree, default is 'sp' (Shortest Path Based Approximation) 'kb' (Kruskal's minimum spanning tree algorithm) also can be choosen. Be careful, 'kb' is very slow.

weighted

if it is TRUE, the network will be weighted, default TRUE

onlysteiner

if it is TRUE, will only show the steiner tree, default TRUE

typeof_node_size

'pagerank' or 'degree', former is default

only_label_terminal

default is F

label_num

If nodes == NULL, the number of nodes you want to label, default is 20


wycwycpku/RSCORE documentation built on Sept. 5, 2021, 4:25 p.m.