Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to use the gaussian_distance() and connectivity_distance() to calculate the C and G metrics in the NetMets? #1

Open
TY-Shi opened this issue Mar 15, 2023 · 3 comments

Comments

@TY-Shi
Copy link

TY-Shi commented Mar 15, 2023

I find the gaussian_distance() return two lists and connectivity_distance() return points sets. However, I don't know how to use the return value to get the final metrics in the NetMets.

@TY-Shi
Copy link
Author

TY-Shi commented Mar 15, 2023

especially, gaussian_distance() returns two lists with negative values, which makes me confused about using the sum value of gaussian_distance() returning list as the final result.

@TY-Shi
Copy link
Author

TY-Shi commented Mar 15, 2023

I find M1 = 1 - np.exp(-1 * mindist1 ** 2 / (2 * sigma ** 2)) maybe right to describe the distance with the -1.

@TY-Shi
Copy link
Author

TY-Shi commented Mar 15, 2023

The final question is how to use the connectivity_distance() to calculate the connectivity of FNR and FPR

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant