Module Import alias ImportFrom alias identifier Import alias Import alias identifier Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword AttributeLoad Call AttributeLoad NameLoad attr Str keyword NameLoad attr keyword Num attr keyword Num keyword Dict Str TupleLoad Num Num Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Call AttributeLoad NameLoad attr keyword Num Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num Assign NameStore SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore ListLoad Assign NameStore Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad NameLoad Slice NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr
N/A N/A multiprocessing matplotlib pyplot plt N/A matplotlib N/A numpy np N/A metaseq N/A pybedtools N/A gs N/A N/A metaseq genomic_signal N/A N/A metaseq example_filename x.bam bam N/A features N/A N/A N/A N/A N/A N/A pybedtools BedTool window_maker b N/A N/A N/A pybedtools BedTool chr2L 0 500000 from_string True fn w 1000 shuffle seed 1 genome N/A chr2L N/A 0 5000000 N/A genes N/A N/A N/A i f N/A enumerate features N/A N/A N/A N/A genes append N/A gene_%s i N/A genes N/A N/A np array genes N/A arr N/A N/A gs array features processes N/A N/A multiprocessing cpu_count bins 100 N/A N/A ind breaks N/A N/A N/A metaseq plotutils clustered_sortind arr k 5 N/A cluster_1_inds N/A ind N/A 0 N/A breaks N/A 0 N/A cluster_1_genes N/A genes N/A cluster_1_inds N/A gene_clusters N/A N/A start 0 N/A b breaks N/A N/A N/A N/A gene_clusters append N/A genes N/A N/A ind N/A start b N/A start b N/A fig N/A N/A plt figure N/A ax1 N/A N/A fig add_subplot 121 N/A N/A N/A ax1 matshow arr cmap N/A N/A matplotlib cm hot N/A N/A N/A ax1 set_title unclustered N/A N/A N/A ax1 axis tight N/A ax2 N/A N/A fig add_subplot 122 N/A N/A N/A ax2 matshow N/A arr N/A ind cmap N/A N/A matplotlib cm hot N/A N/A N/A ax2 set_title clustered, k=5 N/A b breaks N/A N/A N/A N/A ax2 axhline b color b N/A N/A N/A ax2 axis tight N/A N/A N/A plt show