Mercurial > repos > drosofff > msp_sr_readmap_and_size_histograms
changeset 13:355940295e76 draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_readmap_and_size_histograms commit e27d18d58ae095e7fad4b08b04370857a1d37964-dirty
author | mvdbeek |
---|---|
date | Tue, 02 Feb 2016 15:04:45 -0500 |
parents | 2fc0d4756048 |
children | f3e338e433ef |
files | readmap.xml |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/readmap.xml Tue Feb 02 14:53:10 2016 -0500 +++ b/readmap.xml Tue Feb 02 15:04:45 2016 -0500 @@ -201,8 +201,8 @@ start=i end=i+rows_per_page/2-1 if (end>n_genes) {end=n_genes} - if ("${yrange}" != 0) {readmap_plot.list=lapply(per_gene_readmap[start:end], function(x) plot_readmap(x, par.settings=par.settings.readmap)) } else { - readmap_plot.list=lapply(per_gene_readmap[start:end], function(x) plot_readmap(x, ylim=c(-"{$yrange}", "{$yrange}"), par.settings=par.settings.readmap)) } + if (${yrange} != 0) {readmap_plot.list=lapply(per_gene_readmap[start:end], function(x) plot_readmap(x, par.settings=par.settings.readmap)) } else { + readmap_plot.list=lapply(per_gene_readmap[start:end], function(x) plot_readmap(x, ylim=c(-${yrange}, ${yrange}), par.settings=par.settings.readmap)) } size_plot.list=lapply(per_gene_size[start:end], function(x) plot_size_distribution(x, strip=FALSE, par.settings=par.settings.combination.size)) plot.list=rbind(read_plot.list, size_plot.list ) args.list=c(plot.list, list(nrow=rows_per_page + extrarow, ncol=1,