jinhongjung / pyrwr

Python Implementation for Random Walk with Restart (RWR)
MIT License
118 stars 25 forks source link

the dimension of r doesn't match the number of nodes in PPI #11

Open Chengyuanyue opened 9 months ago

Chengyuanyue commented 9 months ago

I changed the network in the example to my network. I split it with Tab separator and saved it as txt file, which contains 17662 nodes, but the output r length is 101243544.Below is my code and txt file, could you please tell me where the problem is. Thank you so much! code test_ppi