[BioC] two histograms in one graph

s.khalid at qmul.ac.uk s.khalid at qmul.ac.uk
Wed Apr 2 16:40:16 CEST 2008


Dear all,

HistStack works nicely. I just need to tweek it a little for my datasets.
Thank you for your help.

Dr K

Quoting Artur Veloso <abveloso at gmail.com>:

> Hi Sabah,
>
> If all you want is to plot two graphs in the same window you can use the
> following commands:
>
> par(mfrow=c(2,1))
> print(truehist(S))
> print(truehist(S2))
>
> Cheers,
> Artur
>
>
> On Wed, Apr 2, 2008 at 9:01 AM, Tobias Straub <tstraub at med.uni-muenchen.de>
> wrote:
>
>> don't know if i get you wrong, but maybe histStack in library
>> geneplotter might be what you are looking for.
>>
>> On Apr 2, 2008, at 2:05 PM, s.khalid at qmul.ac.uk wrote:
>> > Dear all,
>> >
>> > I have a matrix S (range= -0.8 to +0.6) and a matrix S2 (range= -0.5
>> > to +0.9) which I would like to plot on the same graph.  I know there
>> > are various ways to plot graphs.  I have simply used:
>> > print(truehist(S))
>> > print(truehist(S2))
>> > Which works great!  But I would like to plot them on one graph over
>> > one another.  I would be grateful if someone could point me in the
>> > right direction.
>> >
>> > Thanking you in advance.
>> >
>> > Dr K
>> >
>> >
>> > Sabah Khalid PhD
>> > Bioinformatician
>> >
>> > _______________________________________________
>> > Bioconductor mailing list
>> > Bioconductor at stat.math.ethz.ch
>> > https://stat.ethz.ch/mailman/listinfo/bioconductor
>> > Search the archives:
>> http://news.gmane.org/gmane.science.biology.informatics.conductor
>>
>> ======================================================================
>> Dr. Tobias Straub         Adolf-Butenandt-Institute, Molecular Biology
>> tel: +49-89-2180 75 439         Schillerstr. 44, 80336 Munich, Germany
>>
>> _______________________________________________
>> Bioconductor mailing list
>> Bioconductor at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/bioconductor
>> Search the archives:
>> http://news.gmane.org/gmane.science.biology.informatics.conductor
>>
>



Sabah Khalid PhD
Bioinformatician

Institute of Cancer
Medical Oncology Unit
Barts and The London, Queen Mary's School of Medicine
3rd floor, John Vane Science Building
Charterhouse Square
London EC1M 6BQ

Email: s.khalid at qmul.ac.uk
Tel: 020 7882 5613



More information about the Bioconductor mailing list