Re: [R] mutually exclusive events

2014-08-02 Thread John McKown
On Sat, Aug 2, 2014 at 1:11 PM, Adrian Johnson wrote: > Hi: > > I am trying to identify mutually exclusive events from the following > example: > > > Cluster Gene Mutatednot-mutated > 1 G1 1 0 > 1 G2 1 0 >

Re: [R] mutually exclusive events

2014-08-02 Thread John McKown
On Sat, Aug 2, 2014 at 1:11 PM, Adrian Johnson wrote: > Hi: > > I am trying to identify mutually exclusive events from the following > example: > > > Cluster Gene Mutated not-mutated > 1 G1 1 0 > 1 G2 1 0 > 1 G3 0 1 > 1 G4 0 1 > 1 G5 1 0 > 2 G1 0 1 > 2 G2 1 0 > 2 G3 1 0 > 2 G4 0 0 > 2 G5 1 0 > > >

Re: [R] mutually exclusive events

2014-08-02 Thread Bert Gunter
Homework? There is a no homework policy here. -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." Clifford Stoll On Sat, Aug 2, 2014 at 11:47 AM, Don McKenzie wrote: > David’s

Re: [R] mutually exclusive events

2014-08-02 Thread Don McKenzie
David’s answer assumes a more complicated objective, but obviously we are both unclear as to what you want. Are you trying to find out which clusters have a unique pattern of mutation? (probably all of them, with so few clusters and so many genes?) For either objective, this is not a statistic

Re: [R] mutually exclusive events

2014-08-02 Thread David Winsemius
On Aug 2, 2014, at 11:11 AM, Adrian Johnson wrote: > Hi: > > I am trying to identify mutually exclusive events from the following > example: > #- dat <- read.table(text="Cluster Gene Mutatednot_mutated 1 G1 1 0 1 G2

[R] mutually exclusive events

2014-08-02 Thread Adrian Johnson
Hi: I am trying to identify mutually exclusive events from the following example: Cluster Gene Mutatednot-mutated 1 G1 1 0 1 G2 1 0 1 G3 0 1 1 G4