Dear All
I am working with a tab-delimeted files - first two columns are pairs of identifiers and third column is floating point number (0-1) denoting interaction strength between colmn1 and 2. sample file is also attached.
eg-
column1 column2 column3
john steve 0.67588
john matt 1.00
red blue 0.90
yellow steve 0.02
and so on...
from this file I need to know for each unique identifier in first column how many connections are there in second column (example john have two connections and red and yellow have one) at different threshold (column3) from 0 to 1. and writing an output to a file.
the final output look something like this -
for column3 >= 0.6
john 2
red 1
yellow 0
Thanks..