Changing the x axis size using tracks (ggbio)
Vinicius Henrique da Silva <[email protected]> Fri, 12 Sep 2014 18:19:36 +0300
| Newsgroups | gmane.science.biology.informatics.conductor |
|---|---|
| Message-ID | <[email protected]> |
--===============1468636617== Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1286 Hello, I am using the tracks function from ggbio package, but I am unable to chang= e the size in the x axis.=20 The df dataframe:=20 chr start end id chr12 72065147 72204484 ENSBTAG00000045751 chr12 72529373 72690449 ENSBTAG00000047181 chr12 73574461 73704802 ENSBTAG00000046041 chr12 73890111 73977633 ENSBTAG00000047764 chr12 74198711 74199129 ENSBTAG00000047360 chr12 74816044 74978179 ENSBTAG00000023309 chr12 75457896 75536848 ENSBTAG00000026070 chr12 75664651 75870596 ENSBTAG00000039714 chr12 76758753 76864805 ENSBTAG00000003568 chr12 76867833 76922959 ENSBTAG00000003569 chr12 76958977 77024110 ENSBTAG00000012065 chr12 77032585 77176916 ENSBTAG00000004401 gr <- makeGRangesFromDataFrame(df, TRUE) ex <- autoplot(gr, ylab =3D "Soft") + theme(text =3D element_text(size=3D20= )) tracks(ex) In this example just the y axis in changed by theme (size =3D20). The x axi= s continues very small. Interestingly if I don=B4t use tracks function the = two axis (x and y) change normally to my desired size (size =3D20). However= , I have several tracks in my actual data, which coerce me to use tracks f= unction. Any ideas why it is not working? Thank you very much! -- Vinicius=20 =20=09=09=20=09=20=20=20=09=09=20=20 [[alternative HTML version deleted]] --===============1468636617== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bioconductor mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/bioconductor Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor --===============1468636617==--