nt(DataTable, na.print="NA")
>>> #Regulator
>>> # hitsAT1G69490 AT2G55980
>>> # AT1G05675 1NA
>>> # AT1G26380 1NA
>>> # AT2G85403NA 1
>>> # AT4G31
gt; # AT4G31950 1NA
> > # AT4G89223NA 1
> > # AT5G24110 1 NA
> >
> > If you need a data frame instead of a table:
> >
> > as.data.frame.matrix(DataTable)
> >
> > ---
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
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
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
--
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
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 :
7 matches
Mail list logo