Require Simpson index

3 views
Skip to first unread message

Dongze

unread,
Jun 14, 2018, 10:51:10 AM6/14/18
to omni...@googlegroups.com

Hi,

           I’m a master student in Bioinformatics, and I saw your database, it’s really interesting. now I have a question, you mentioned that you select interections according to their Simpson index, could you please tell me whether I could get the Simpson index value? If I can, how could I get it?

 

Dongze

 

Dénes Türei

unread,
Jun 15, 2018, 10:09:57 AM6/15/18
to Dongze, omni...@googlegroups.com
Hi Dongze,

I used Simpson index to quantify the similarity between resources.
Simpson index is a simple similarity metric used mainly in community ecology.
Staying at the example of comparing networks, it is calculated by
dividing the number of shared edges by the number of edges in the
smaller resource.
E.g. if Signor has 5000 edges and SignaLink has 3000 and 2000 of these
is in agreement, Simpson index is 2000 / 3000 = 0.66
PyPath instances have the method `database_similarity()` which
calculates the Simpson index for edges and nodes for all currently
loaded resources.
I haven't tested it in the past 2 years, if you experiencing any
issues just send a bug report on github.

Best wishes,

Denes
> --
> You received this message because you are subscribed to the Google Groups
> "Omnipath" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to omnipath+u...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/omnipath/5b2280db.1c69fb81.1f9de.1f8e%40mx.google.com.
> For more options, visit https://groups.google.com/d/optout.



--
Denes Turei, Ph.D.

postdoc @ Uniklinik RWTH Aachen & EMBL Heidelberg
+4915166299976 Germany
+447442970610 UK
de...@ebi.ac.uk
http://www.ebi.ac.uk/~denes
public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x5706A4B609DD65A6

for accessing papers use Sci-Hub: http://sci-hub.tw/
Reply all
Reply to author
Forward
0 new messages