def build_parser():
"""Build argument parser."""
parser = argparse.ArgumentParser(
description=__doc__, formatter_class=argparse.ArgumentDefaultsHelpFormatter)
parser.add_argument("in_gct_path", type=str, help="full path to input gct")
parser.add_argument("out_dir", type=str, help="where to save output")
parser.add_argument("out_prefix", type=str, help="prefix for naming output figure and its title")
parser.add_argument("target_id", type=str, help="which row of connectivity matrix to extract")
parser.add_argument("-queries_to_highlight", "-qth", nargs="*", type=str, default=None,
help="which queries to highlight")
parser.add_argument("-conn_metric", type=str, default="KS test statistic",
help="connectivity metric to use for plot labeling")
return parser
评论列表
文章目录