Font size of labels in circos plot from OmicCircos
1
0
Entering edit mode
7.1 years ago

I' am using circos plots from OmicCircos to make some simple visualization of gene fusions. I want to make the font size of the gene names larger, but when I do this the gene names overlap. Any solutions?

My code. I use the cex parameter to control label size in the third function call of circos.

pdf("test.circos.pdf")
par(mar=c(2,2,2,2))
plot(c(1,1000),c(1,1000),type="n",axes=F,xlab="",ylab="",main="")
circos(R=400,xc=500,yc=500,type="chr",cir="mm10",print.chr.lab=T,W=15,scale=F,cex=15)
circos(R=350,xc=500,yc=500,cir="mm10",W=240,mapping=fusions.formated,type="link",lwd=2)
circos(R=445,xc=500,yc=500,cir="mm10",W=20,mapping=labels,type="label",side="out",cex=2)
dev.off()

enter image description here

RNA-Seq circos • 3.4k views
ADD COMMENT
0
Entering edit mode
6.8 years ago

circos(R=445,xc=500,yc=500,cir="mm10",W=20,mapping=labels,type="label",side="out",cex=2) ---> control the font size with cex value. Keep always small value in decimals.

ADD COMMENT

Login before adding your answer.

Traffic: 1067 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6