Learn R Programming

rhcoclust (version 2.0.0)

rhcoclust_network: Visualization of clustering network plot

Description

This function is used for visualization of clustering network plot, the plot objects are generated by rhcoclust.

Usage

rhcoclust_network(CoClustObj)

Value

Plot

Arguments

CoClustObj

Output objects from rhcoclust

Author

Md. Bahadur Badsha <mbbadshar@gmail.com>

See Also

rhcoclust for generating a graph objects for clustering network

Examples

Run this code
# Load necessary library
library(rhcoclust)
library(fields)
library(igraph)

# Load real data
data("FCGE_Data_GMP")
data("FCGE_Data_PPARs")
# Load predefined real data
# Real data use: data <- FCGE_Data_PPARs
# Real data use: data <- FCGE_Data_GMP

# Load predefined simulated data
data("simu_data")

# simulated data
data <- simu_data


# Apply rhcoclust to identify significant co-cluster of samples and their regulatory features
CoClustObj <- rhcoclust(data, rk=4, ck=3, method.dist = "manhattan", method.hclust = "ward.D")
# For real data either FCGE_Data_PPARs or FCGE_Data_GMP
#CoClustObj <- rhcoclust(data, rk=3, ck=3, method.dist = "manhattan", method.hclust = "ward.D")

# Visualization of clustering network plot
rhcoclust_network(CoClustObj)

Run the code above in your browser using DataLab