Create a brainview file of a specific ROI
civet.CreateBrainViewROI(atlasFile, atlasVertices, region, civetVersion = "1.1.12")
atlasFile | File with Atlas label (string-label(int)) mappings |
---|---|
atlasVertices | File with vertex label(int) mappings |
region | Region to plot -> Must match name in atlas file exactly |
civetVersion | Version of CIVET |
Create a .txt file that can be overlaid unto the model template (usually in the CIVET models directory) Currently only CIVET version 1.1.12 is supported.
civet.CreateBrainViewFile
# NOT RUN { getRMINCTestData() civet.CreateBrainViewROI("/tmp/rminctestdata/AAL.csv", "/tmp/rminctestdata/AAL_atlas_left.txt", "Left Insula") q() #(The .txt file is written in the working directory and can be viewed via the command) #brain-view2 $CIVET_DIR/models/surf_reg_model_left.obj ./LeftInsula.txt # }