spxuw / DKI

MIT License
34 stars 11 forks source link

The understanding of the keystoneness. #2

Open allen-zhan340 opened 11 months ago

allen-zhan340 commented 11 months ago

Dear professor! thanks for your nice tool.

but i have a few questions follows:

  1. You have given the brief introduction of this tool, can you the more detailed information of this tool, eg, the command line and parameters for using the 'DKI.py' and 'Keystoneness_computing.R'?
  2. The keystoneness descirbes the importance of a species in a specific sample, but the how can we know it's importance through the value? eg, image species 6 is a more keystone in sample 4, but is it really import in sample 4? or i can just choose the top rank speccies with the highest keystoneness as the keystone species in one sample?

Looking forward to your reply!

spxuw commented 11 months ago

You have given the brief introduction of this tool, can you the more detailed information of this tool, eg, the command line and parameters for using the 'DKI.py' and 'Keystoneness_computing.R'?

You only need to specify the dataset name and the fold (if multiple tests) in the command line of DKI.py. You can try different batch sizes and learning rates to improve the prediction performance. 'Keystoneness_computing.R' is used to compute the keystoneness, and no parameters were included.

The keystoneness descirbes the importance of a species in a specific sample, but the how can we know it's importance through the value?

Yes, you can rank the species based on the median keystonesss across communities.