Construction of network diagrams by using R
3
0
Entering edit mode
7.3 years ago
Cy • 0

Greeting.

I want to create a network by using R but I only have a table that contain OTU ID and the abundance value of two samples ONLY.

Isn't possible? If can, which package can be used or any other software? Greatly appreciated to any suggestions and helps.

Thank you.

R • 2.7k views
ADD COMMENT
1
Entering edit mode
7.3 years ago

Use the igraph R package. There's a great tutorial on using it for visualization.

ADD COMMENT
0
Entering edit mode

Thank you for your suggestion. But I do not have the edge list and adjacent matrix. Hence, how to get the adjacent matrix in R.

ADD REPLY
0
Entering edit mode

You have to decide on how you want to represent your data as a graph. You can think of the adjacency matrix as being a similarity matrix. You could measure how similar OTUs are across the samples using a relevant similarity measure (for similarity measures in R, see the proxy package)

ADD REPLY
1
Entering edit mode
7.3 years ago

ggraph use ggplot2 and igraph to plot nice networks in R : https://github.com/thomasp85/ggraph

ADD COMMENT
0
Entering edit mode
7.3 years ago
blackjack666 ▴ 20

Why not use Cytoscape? http://www.cytoscape.org/

ADD COMMENT

Login before adding your answer.

Traffic: 1748 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6