Skip to content

YongLiuLab/R2SN_construction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R2SN_construction

IMG.jpg

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

Source

If you use R2SN_code, please cite this orignal paper: 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 (2669742207@qq.com),Kun Zhao (kunzhao@buaa.edu.cn)

Any questions, pls do not hesitate to contact kunzhao@buaa.edu.cn

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