display.clusters: Display Clusters

Description Usage Arguments Details

Description

Given a cluster matrix, see cluster.network and a network display the cluster matrix with the following colors for the position (i,j):

Usage

1
2
display.clusters(clust, Net, zoom = NA, type = 1, cols = c("yellow",
  "black", "red", "green"), col = cols[type + 1], ...)

Arguments

clust

a matrix which is the output1 of cluster.network

Net

an igraph object

zoom

an integer to define the size of plot or NA, to plot all clusters

type

0 = "yellow", 1 = "black", 2="red", 3 = "green"

cols

a list of 4 colors if you want to change the default colors

col

color to use with zoom

...

Additional plotting parameters

Details

- Yellow if the protein and protein i doesn't belongs to cluster of protein j and proteins don't interact in the network

- Black if the protein and protein i belongs to cluster of protein j but proteins don't interact in the network

- Red if the protein and protein i doesn't belongs to cluster of protein j but proteins interact in the network

- Green if the protein and protein i belongs to cluster of protein j and proteins interact in the network


RicUIB/AligNet documentation built on May 28, 2019, 2:27 p.m.