Convert GBreaks object to a list of dna_seg objects
Arguments
- gb
A
GenomicRanges::GRangesor aGBreaksobject.- ...
Extra arguments passed to
dna_seg().
Value
Returns a list of two genoPlotR::dna_seg objects, respectively
for the target ranges the query ranges.
See also
Other genoPlotR functions:
gb2comp(),
gb2xlim(),
gr2dna_seg(),
plotApairOfChrs()
Other Converter functions:
GBreaksToMatrix(),
gb2comp(),
gb2xlim(),
gr2dna_seg()
Examples
gb2dna_seg(exampleInversion)
#> $target
#> name start end strand col fill lty lwd pch cex gene_type
#> 1 chrA:100-190:+ 100 190 1 blue blue 1 1 8 1 blocks
#> 2 chrA:210-291:- 210 291 1 blue blue 1 1 8 1 blocks
#> 3 chrA:301-400:+ 301 400 1 blue blue 1 1 8 1 blocks
#>
#> $query
#> name start end strand col fill lty lwd pch cex gene_type
#> 1 chrB:100-190 100 190 1 blue blue 1 1 8 1 blocks
#> 2 chrB:210-291 210 291 -1 blue blue 1 1 8 1 blocks
#> 3 chrB:301-400 301 400 1 blue blue 1 1 8 1 blocks
#>