The genoPlotR::dna_seg class represents DNA segments using
a data.frame format.
Arguments
- gr
A
GenomicRanges::GRangesobject.- ...
Extra arguments passed to
dna_seg().
See also
Other genoPlotR functions:
gb2comp(),
gb2dna_seg(),
gb2xlim(),
plotApairOfChrs()
Other Converter functions:
GBreaksToMatrix(),
gb2comp(),
gb2dna_seg(),
gb2xlim()
Examples
gr2dna_seg(exampleInversion)
#> 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
gr2dna_seg(exampleInversion$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