plot_conns_for_one_target.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:psp 作者: cmap 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号