set.current.cell.Rd
Set flag to current cell
set.current.cell(sector.index, track.index)
sector.index | sector index |
---|---|
track.index | track index |
After setting the current cell, all functions which need sector.index
and track.index
arguments and are applied to the current cell do not need to specify the two arguments explicitly.
pdf(NULL) circos.initialize(letters[1:8], xlim = c(0, 1)) circos.track(ylim = c(0, 1)) circos.info()#> All your sectors: #> [1] "a" "b" "c" "d" "e" "f" "g" "h" #> #> All your tracks: #> [1] 1 #> #> Your current sector.index is h #> Your current track.index is 1#> All your sectors: #> [1] "a" "b" "c" "d" "e" "f" "g" "h" #> #> All your tracks: #> [1] 1 #> #> Your current sector.index is b #> Your current track.index is 1circos.clear() dev.off()#> pdf #> 2