Entering edit mode
9.8 years ago
Peter.Wood
•
0
Using the zoom function in OmicCircos, I am trying to plot the gene expression for the X chromosome.
#insert chromosome X
zoom <- c(X, X, 939245.5, 154143883, 343.7, 376.7);
# insert circos
circos(R=350, cir="hg19", W=4, type="chr", print.chr.lab=T, scale=T, zoom=zoom);
circos(R=120, cir="hg19", W=263, mapping=gene.sample, col.v=4, type="heatmap2", col.bar=F, lwd=1, zoom=zoom);
circos(R=370, cir="hg18", W=15, mapping=gene.sample, type="label", side="out", col="black", zoom=zoom);
But I am getting the error:
Error in chr1:chr2 : argument of length 0
I would be grateful if someone could explain why this is only happening for the X chromosome and not for chromosomes 1-22.
Thanks.