Re: [R] Fwd: Re: transpose and split dataframe

2019-05-06 Thread Matthew
nt(DataTable, na.print="NA") >>> #Regulator >>> # hitsAT1G69490 AT2G55980 >>> # AT1G05675 1NA >>> # AT1G26380 1NA >>> # AT2G85403NA 1 >>> # AT4G31

Re: [R] Fwd: Re: transpose and split dataframe

2019-05-02 Thread Jim Lemon
gt; # AT4G31950 1NA > > # AT4G89223NA 1 > > # AT5G24110 1 NA > > > > If you need a data frame instead of a table: > > > > as.data.frame.matrix(DataTable) > > > > ---

Re: [R] Fwd: Re: transpose and split dataframe

2019-05-02 Thread Jim Lemon
1 > # AT5G24110 1NA > > If you need a data frame instead of a table: > > as.data.frame.matrix(DataTable) > > > David L Carlson > Department of Anthropology > Texas A University > College Station, TX 77843-435

Re: [R] Fwd: Re: transpose and split dataframe

2019-05-02 Thread David L Carlson
sday, April 30, 2019 4:31 PM To: r-help@r-project.org Subject: [R] Fwd: Re: transpose and split dataframe Thanks for your reply. I was trying to simplify it a little, but must have got it wrong. Here is the real dataframe, TF2list:  str(TF2list) 'data.frame':    152 obs. of  2 variables:  $ Re

Re: [R] Fwd: Re: transpose and split dataframe

2019-05-01 Thread Matthew
epartment of Anthropology > Texas A University > College Station, TX 77843-4352 > > > > > > -Original Message- > From: R-help On Behalf Of Matthew > Sent: Tuesday, April 30, 2019 4:31 PM > To: r-help@r-project.org > Subject: [R] Fwd: Re: transpose and split dat

Re: [R] Fwd: Re: transpose and split dataframe

2019-04-30 Thread David L Carlson
-- David L Carlson Department of Anthropology Texas A University College Station, TX 77843-4352 -Original Message- From: R-help On Behalf Of Matthew Sent: Tuesday, April 30, 2019 4:31 PM To: r-help@r-project.org Subject: [R] Fwd: Re: transpose and split datafram

[R] Fwd: Re: transpose and split dataframe

2019-04-30 Thread Matthew
Thanks for your reply. I was trying to simplify it a little, but must have got it wrong. Here is the real dataframe, TF2list:  str(TF2list) 'data.frame':    152 obs. of  2 variables:  $ Regulator: Factor w/ 87 levels "AT1G02065","AT1G13960",..: 17 6 6 54 54 82 82 82 82 82 ...  $ hits :