[R] circlize package: different font size for axis labels

David Winsemius dwinsemius at comcast.net
Mon Dec 15 20:08:22 CET 2014

On Dec 15, 2014, at 8:41 AM, Fix Ace wrote:

> Hi, Dr. Gu,
> I am trying to highlight some axis labels, for example, "72hL3" as bold, using the following command: 
> circos.initialize(factors=female.f, xlim=c(1.8,6.2))
> circos.trackPlotRegion(factors=female.f,
> ylim=c(-1.3,1.8),track.height=0.5,panel.fun=function(x,y){circos.axis(major.at=c(2:6),minor.ticks=0,labels=c("L3","72hL3","72hL4","8dF","16dF"),labels.cex=0.8,major.tick.percentage=0.02,h="bottom",
> direction="inside", labels.font=c(1,2,1,1,1,1))})

That appears to be the sort of argument names that would suggest the underlying plot paradigm is base graphics. I would try this as the labels 'argument':

labels=epression("L3", "72hL3", bold(72hL4), "8dF", "16dF")

> Is there a way to do this using circlize package?
> Thanks!
> 	[[alternative HTML version deleted]]

Please read what the Posting Guide says about HTML formatting.

> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius
Alameda, CA, USA

More information about the R-help mailing list