kdahlquist / GRNmap

Gene Regulatory Network modeling and parameter estimation
BSD 3-Clause "New" or "Revised" License
4 stars 3 forks source link

Compute Gephi stats "by hand" to verify we know how they are computed #344

Closed kdahlquist closed 5 years ago

kdahlquist commented 7 years ago
kdahlquist commented 7 years ago

@maggie-oneil can you comment here on the results of the closeness centrality computation?

maggie-oneil commented 7 years ago

The notes for closeness centrality can be found here http://www.openwetware.org/images/8/8f/MO_ClosesnessCentrality.pdf

maggie-oneil commented 7 years ago

Also it should be noted that it appears as though the calculation needs node x =/= y in order for the edge to be included. AKA self-regulation is not counted in the statistic for closeness centrality

kdahlquist commented 7 years ago

@maggie-oneil is working on weighted betweenness centrality right now.

kdahlquist commented 7 years ago

If this all doesn't get finished, we can pick it up next semester.

kdahlquist commented 7 years ago

@maggie-oneil, don't forget to post a status update each week.

kdahlquist commented 7 years ago

@maggie-oneil will go through Gephi support, either the forum, facebook group or GitHub issue to find out the algorithm for eccentricity.

maggie-oneil commented 7 years ago

Closeness centrality computed by hand last semester showed Gephi was calculating this statistic as unweighted. Betweeness centrality and eigencentrality are in the process of being calculated right now, will work on this as well tomorrow. Eccentricity is calculated using an algorithm, so will contact Gephi to figure out how this statistic is being calculated specifically. will reach out using Github, then move on to the forum they have, and facebook.

maggie-oneil commented 7 years ago

Still in the process of calculating betweeness centrality as it requires tracing every connection in the db5 network. I have determined that betweeness centrality does not take weights into account when calculating the statistic. This should be complete in time for Wednesday's lab meeting.

I have contacted Gephi through posting an issue on their Github page. It is issue #1778 on their page. If I do not hear anything from them by next Wednesday, I will then try to contact them through the forum and then facebook.

maggie-oneil commented 7 years ago

Successfully contact Gephi for information on eccentricity algorithm, response from Gephi can be found at the following link : https://github.com/gephi/gephi/issues/1778

From now on, will use a fully connected 6 node network in order to calculate statistics generated by Gephi. This will ensure all statistics are equivalent for all nodes, and in doing this we can assume that statistics for larger networks can also be computed.

maggie-oneil commented 7 years ago

Generated a 6 node, 30 edge network as described in lab meeting yesterday. However, this graph, when run through Gephi, yielded a betweeness centrality of 0 for all nodes, because the shortest path between two nodes was the edge directly connecting them. To take care of this, I removed the edge going from B -> A, and then was able to calculate the betweeness centrality for node C in the graph.

The calculations completed can be found at the following address: http://www.openwetware.org/images/1/1f/9.14.17BetweenessCentralityCalcs_6node-29edge_MO.pdf

maggie-oneil commented 7 years ago

Gephi presentation for lab meeting can be found here: https://docs.google.com/presentation/d/1qZcRpLLQH_p-EIdJ-VcgYF_JOxiuMmwwqY2EBgJL538/edit?usp=sharing

kdahlquist commented 7 years ago

At today's meeting, @kdahlquist suggested that @maggie-oneil take a close look at the Gephi stats for db5 to try to make sense of what the stats are telling us about the network. Rank the stats (which should rank the genes by "importance", roughly) and explain why that gene is important in the network. Or maybe we don't think that it is and we disagree with what the stats are saying. In any event, we need to start interpreting the data biologically, instead of compiling more data.

maggie-oneil commented 7 years ago

Updated powerpoint for this week can be found here. MO.10.4.17GraphUpdatesLabMeeting.pptx