Question: Font size of labels in circos plot from OmicCircos
0
gravatar for murphy.charlesj
2.4 years ago by
United States
murphy.charlesj90 wrote:

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 • 1.2k views
ADD COMMENTlink modified 2.1 years ago by baskar.aimstar20060 • written 2.4 years ago by murphy.charlesj90
0
gravatar for baskar.aimstar2006
2.1 years ago by
baskar.aimstar20060 wrote:

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 COMMENTlink written 2.1 years ago by baskar.aimstar20060
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1309 users visited in the last hour