Hi Adrian,
Perhaps what you want is this:
ajdat<-structure(c(112L, 0L, 579L, 1L, 131L, 1L, 2234L, 2L, 2892L, 1L,
528L, 0L, 582L, 2L), .Dim = c(2L, 7L), .Dimnames = list(c("GN",
"CN"), c("DC5", "DC8", "DC14", "DC18", "DC19", "DC20", "DC23"
)))
library(plotrix)
gt;>
>> -
>> David L Carlson
>> Department of Anthropology
>> Texas A University
>> College Station, TX 77840-4352
>>
>>
>>
>> -Original Message-
>> From: R-help [mailto:r-help-boun...@r-
> David L Carlson
> Department of Anthropology
> Texas A University
> College Station, TX 77840-4352
>
>
>
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Adams, Jean
> Sent: Wednesday, October 12, 2016 12:44
ject.org] On Behalf Of Adams, Jean
Sent: Wednesday, October 12, 2016 12:44 PM
To: Adrian Johnson
Cc: r-help
Subject: Re: [R] barplot beside=TRUE - values differ on scales
Adrian,
Very interesting.
What do you think of using colors to indicate the five possible loss/gain
levels?
For example:
a
Adrian,
Very interesting.
What do you think of using colors to indicate the five possible loss/gain
levels?
For example:
a <- structure(c(112L, 0L, 579L, 1L, 131L, 1L, 2234L, 2L, 2892L, 1L,
528L, 0L, 582L, 2L), .Dim = c(2L, 7L), .Dimnames = list(c("GN",
"CN"), c("DC5", "DC8", "DC14",
On 12/10/2016 12:59 PM, Adrian Johnson wrote:
Thanks Duncan.
I am sorry I cannot scale second row (d[2,]).
I was looking for a way to plot d[2,] values next to d[1,] with a
right side axis=4 on right side. -2,-1,0,1,2
That doesn't really make graphical sense, but you can use any
Thanks Duncan.
I am sorry I cannot scale second row (d[2,]).
I was looking for a way to plot d[2,] values next to d[1,] with a
right side axis=4 on right side. -2,-1,0,1,2
thanks
Adrian
On Wed, Oct 12, 2016 at 12:42 PM, Duncan Murdoch
wrote:
> On 12/10/2016 12:20 PM,
Hi Adams,
The story I am trying to show visually relationship between GN and CN
for every column. Each column represents a patient. In each patient, a
particular chromosome region (CN) is either lost (-2 or -1) or gained
(1 or 2). Typically if loss (one copy loss - as humans have pair of
On 12/10/2016 12:20 PM, Adrian Johnson wrote:
Dear group,
I have been struggling to barplot two different measurements from one
subject. These two measures differ in range. I want to plot row 1
axis on left side and row 2 values on right side.
For a given column I want to plot GN and CN next
Adrian,
What story are you trying to tell? Or what question are you trying to
answer by visualizing these data? How is a bar plot of these numbers going
to help? I'm just wondering if perhaps a different visualization might
make more sense, for example, a scatter plot of GN vs. CN.
m <-
I have suspect that the most common answer to this will be 'don't', for all the
reasons statisticians don't like mixing vertical scales on the same plot. See
http://www.perceptualedge.com/articles/visual_business_intelligence/dual-scaled_axes.pdf
for one article on that topic.
But if you must,
11 matches
Mail list logo