cran / CINNA

:exclamation: This is a read-only mirror of the CRAN R package repository. CINNA — Deciphering Central Informative Nodes in Network Analysis
1 stars 1 forks source link

Error calculating centralities from non-connected network #1

Open sayalaruano opened 3 years ago

sayalaruano commented 3 years ago

Hello, I am writing here because I tried to calculate the centralities from a non-connected network with CINNA, but this error has appeared:

"The input is not an igraph object or may not be connected."

So, I'm wondering if this package can only calculate centralities from connected networks, or maybe is due to another error in my code.

This is the code I ran:

pr_cent<- proper_centralities(hspn)

calc_cent1 <- calculate_centralities(hspn, include = pr_cent[1:5])

Thank you in advance for your help and support.

Best regards.

gaborcsardi commented 3 years ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Thanks!

sayalaruano commented 3 years ago

Thank you very much for your reply.

Regards