Skip to content

slaughterfan/R2SN_construction

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R2SN_construction

R2SN provide a novel, reliable and biologically plausible method to understand human morphological covariance based on sMRI.

Source

If you use R2SN_code, we would apreciate your citations: Original Paper

Zhao K, Zheng Q, Che T, et al. Regional radiomics similarity networks (R2SNs) in the human brain: Reproducibility, small-world properties and a biological basis [J]. Network Neuroscience, 2021, 1-15.

Installation

Install option 1 (for installing the R2SN_construction code in a chosen directory): clone repository, install locally

  1. Clone this repo

  2. Navigate to the main R2SN_construction directory , then run:

    pip install .
    

Install option 2: direct install from Pypi

   pip install R2SN

Dependencies

Example

from R2SN import feature_extraction  

if __name__ == '__main__':
	Image_path = r'D:\Python_project\venv\Brain\R2SN\R2SN\data\Image' 	       	# input image path  
	Network_output_path = r'D:\Python_project\venv\Brain\R2SN\R2SN\data\Network' 	# output network path  
	n_jobs = 1									# number of process
	feature_extraction.R2SN_feature_extract(Image_path = Image_path,  
                                           			Network_output_path = Network_output_path,  
                                            			n_jobs = n_jobs)  

Note

Here, the image_path is the dir of your original file. The Network_out_path is the dir of your choosed ouput dir. n_jobs is means the number of jobs runing simultaneously.

Acknowledgement

Author: Fan Yang ([email protected]),Kun Zhao ([email protected])

Any questions, pls do not hesitate to contact [email protected]

The registeration section is based on ANTs toolkit.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%