sjspielman / dragon

Deep time Redox Analysis of the Geobiology Ontology Network
https://sjspielman.shinyapps.io/dragon/
Other
2 stars 1 forks source link

Unable to get network closeness centrality values #45

Closed mooreek closed 3 years ago

mooreek commented 3 years ago

Hi Stephanie, I am trying to download the network closeness centrality values for the Fe network. When I use either the mineral attributes table or the explore individual nodes custom table, all of the network closeness values are 0 for either the regular network or the network with separate element nodes for each redox state. The network closeness values are generally very small (ex: 0.0004), and it appears that maybe they are all being rounded off to zero? Is there a way to download these values with an appropriate number of significant figures? Thanks for your help! Best, Eli

sjspielman commented 3 years ago

Will look into it in the next few days. The goal should be for the display table to round, but NOT the downloaded table... — Stephanie J. Spielman, PhD Assistant Professor Department of Biological Sciences Rowan University https://spielmanlab.github.io

On Feb 24, 2021, at 12:19 AM, mooreek notifications@github.com<mailto:notifications@github.com> wrote:

Hi Stephanie, I am trying to download the network closeness centrality values for the Fe network. When I use either the mineral attributes table or the explore individual nodes custom table, all of the network closeness values are 0. These values are generally very small (ex: 0.0004), and it appears that they are all being rounded off to zero. Is there a way to download these values with 3 significant figures? Thanks for your help! Best, Eli

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/sjspielman/dragon/issues/45, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABD3XNYYPRZVFXCCR4AK3Q3TASD73ANCNFSM4YD2GP6A.

sjspielman commented 3 years ago

This is now fixed on the dragon-dev shinyapps, and will be included with next dragon release. There are now sliders to choose the numbers of digits, and I've confirmed it works both in displayed and exported tables. Let me know if you find any weird edge case!

mooreek commented 3 years ago

Great thanks, I will try it out!