bioinformatics - R and Gviz: How to remove (/crop) a region of a plot? -


this code:

altrack <- gviz::alignmentstrack(   system.file(package = "gviz", "extdata", "gapped.bam"),   ispaired = true)  gviz::plottracks(   altrack,   = 3048500,   = 3049000,   chromosome = "chr12") 

produces plot:

enter image description here

using gviz package. problem empty space that's appearing in bottom of picture. how can remove specific region of plot / crop keep region need? if remove lower 15% of produced plot r function great.

the specific region want not appear:

enter image description here

the max.height parameter it.

already answered here: https://support.bioconductor.org/p/81044/


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -