Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xslt/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R和Gviz:如何删除(/裁剪)绘图区域?_R_Bioinformatics_R Grid - Fatal编程技术网

R和Gviz:如何删除(/裁剪)绘图区域?

R和Gviz:如何删除(/裁剪)绘图区域?,r,bioinformatics,r-grid,R,Bioinformatics,R Grid,此代码: alTrack <- Gviz::AlignmentsTrack( system.file(package = "Gviz", "extdata", "gapped.bam"), isPaired = TRUE) Gviz::plotTracks( alTrack, from = 3048500, to = 3049000, chromosome = "chr12") alTrack最大高度参数将执行此操作 这里已经回答了: 我自己也没有使用过这个软件

此代码:

alTrack <- Gviz::AlignmentsTrack(
  system.file(package = "Gviz", "extdata", "gapped.bam"),
  isPaired = TRUE)

Gviz::plotTracks(
  alTrack,
  from = 3048500,
  to = 3049000,
  chromosome = "chr12")

alTrack最大高度参数将执行此操作

这里已经回答了:

我自己也没有使用过这个软件包,但在我在网上找到的几个例子中,这个页边距没有出现。由于调用
Gviz::AlignmentsTrack
时没有给定范围,因此
alTrack
是否可能包含“额外”轨迹,在指定范围内没有任何可打印的轨迹?也就是说,在绘图之前,是否可以在所需范围内过滤这些内容?谢谢!我忘了从这里链接到它:)