Entering edit mode
Hernando Martínez
▴
100
@hernando-martinez-4124
Last seen 10.2 years ago
Hi list,
I am working with a network, in a table form like this:
Gene1 Gene5 0.76
Gene1 Gene79 0.89
Gene2 Gene8 0.97
...
Basically, each row represents two genes that interact, and their
pearson
correlation coefficient (from 0.7 to 1).
What I want to get is a plot representing how the number of nodes and
edges
(separately) decrease when the pearson correlation cut off increases
(from
0.7 to 1).
What I have in mind is creating a loop and generate values for the
plot, but
I have never done anything similar in R and I am not quite sure how to
do it
or it that would work.
Any ideas? Help is much appreciated, thanks,
--
Hernando Martínez Vergara
[[alternative HTML version deleted]]