cat emissions_10.txt |sed 's/state (Emission order)\t//'| ~abreschi/R/scripts/ggheatmap.R -i stdin -o heatmap_emission.pdf cat emissions_10.txt |sed 's/state (Emission order)\t//;s/^/State_/;s/State_H/H/'| ~abreschi/R/scripts/ggheatmap.R -i stdin -o heatmap_emission.pdf --matrix_palette ~cklein/R/palettes/red.single.hue.9.rev.txt -B 12 cat transitions_10.txt |sed 's/state (from\\to) (Emission order)\t//;s/^/State_/;1s/\t/\tState_/g'| ~abreschi/R/scripts/ggheatmap.R -i stdin -o heatmap_transition.pdf --matrix_palette ~cklein/R/palettes/red.single.hue.9.rev.txt -B 12 for i in L3 WP LP;do cat ${i}_10_overlap.txt |sed 's/state (Emission order)\t//;s/^/State_/;s/State_G/G/'| ~abreschi/R/scripts/ggheatmap.R -i stdin -o heatmap_${i}_overlap.pdf --matrix_palette ~cklein/R/palettes/red.single.hue.9.rev.txt -B 12;done