parcel combine

Usage

Run using mc_script parcel combine after installation or using ~ndcn0236/bin/mc_script parcel combine on jalapeno.

Import in python using from mcutils.scripts.parcel import combine

Documentation

Combines two parcellations into a single parcellation by multiplying them

Functions

run(arr1, label1, arr2, label2)

Combines the two parcellations into one by multiplying

CLI interface

add_to_parser(parser)

Creates the parser of the command line arguments

run_from_args(args)

Runs the script based on a Namespace containing the command line arguments