Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

clustering resolution #26

Closed
wangjiawen2013 opened this issue Nov 16, 2022 · 6 comments
Closed

clustering resolution #26

wangjiawen2013 opened this issue Nov 16, 2022 · 6 comments

Comments

@wangjiawen2013
Copy link

Hi,
We can set resolution in leiden clustering to control the number of clusters. Does VIA has a similar parameters ? I find that PARC identify a lot more clusters than leiden by default.

@ShobiStassen
Copy link
Owner

hi again!
yes absolutely you can adjust the granularity of clustering in many ways (exactly like PARC)
check out params page in rtd

  1. resolution_parameter (default = 1)
  2. jac_std_global (lower value means you are pruning the community-detection graph and will hence get more clusters. default is 0.15)
  3. too_big_factor (default = 0.3) ensures no cluster is more than 30% of whole population

@wangjiawen2013
Copy link
Author

I tried both the parameters many many times. jac_std_global does work, while resolution_parameter doesn't work. It is supposed to be very sensitive to resolution_parameter, which is the case of leiden algorithm. Could you check the code and see if VIA uses resolution_parameters ?

@ShobiStassen
Copy link
Owner

hi, i just updated the core.py (on github VIA ), i think it should work now - let me know. i have not uploaded to pip yet

@ShobiStassen
Copy link
Owner

ShobiStassen commented Nov 16, 2022 via email

@ShobiStassen
Copy link
Owner

v0.1.56 should address this issue now on pip install pyvia too

@wangjiawen2013
Copy link
Author

wangjiawen2013 commented Nov 20, 2022

Hi,
More release notes and version info can attract user's eye and enhance their interests and confidence and even citations on pyVIA, as we can know more details and the developing history of VIA.

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

No branches or pull requests

2 participants