Skip to content

Commit f846ca1

Browse files
authored
Update README.md
1 parent b4dccb8 commit f846ca1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ The following arguments are needed to call the script:
2727
9. `-num_iters` or `--num_iters`: number of iterations in test
2828
10. `-save_model` or `--save_model`: (True or False)
2929

30+
31+
## 1. Building cost matrix
32+
Here, we want to calculate cost matrix between different ROIs in two atlases. Then, we have to specify the names of two atlases with `-s` and `-t` and the task we want to learn mappings with `-task` .
33+
```console
34+
python build_cost_matrix.py -s craddock -t shen -task rest1
35+
```
36+
The output will be stored in `G_source_target_task.csv` with `n` by `m` rows and columns indicating number of ROIs in source and target respectively.
37+
38+
## 2. Finding mappings
39+
## 3. Carot: Transforming source(s) to a target atlas
3040
To run a simple script with source `brainnetome` and target `shen` using `rest1` with `euclidean` cost measure, and saving it:
3141
```console
3242
python hcp_atlas_to_atlas.py -s brainnetome -t shen -task rest1 --save_model True -c euclidean

0 commit comments

Comments
 (0)