Set flag to current cell

set.current.cell(sector.index, track.index)

Arguments

sector.index

sector index

track.index

track index

Details

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.

Examples

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
set.current.cell("b", 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 b #> Your current track.index is 1
#> pdf #> 2