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)
twoord.plot(0.8:6.8,ajdat[2,],1.2:7.2,
gt;> David L Carlson
>> Department of Anthropology
>> Texas A&M University
>> College Station, TX 77840-4352
>>
>>
>>
>> -Original Message-
>> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Adams, Jean
>> Sent: Wedne
David L Carlson
> Department of Anthropology
> Texas A&M 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 PM
> To: Adrian Johnso
p-boun...@r-project.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:
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", "DC18",
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
transformati
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, Adrian Johnson wrote:
>>
>>
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
chromosome
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 to
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 <- struct
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Adrian
> Johnson
> Sent: 12 October 2016 17:21
> To: r-help
> Subject: [R] barplot beside=TRUE - values differ on scales
>
> Dear group,
> I have been struggling to barplot two
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 to each other.
my dput code is below
:
structure
12 matches
Mail list logo