ble[DataTable==0] <- NA
>>> print(DataTable, na.print="NA")
>>> #Regulator
>>> # hits AT1G69490 AT2G55980
>>> # AT1G05675 1NA
>>> # AT1G26380 1NA
>>> # AT2G85403
1
> > # AT4G31950 1NA
> > # AT4G89223NA 1
> > # AT5G24110 1 NA
> >
> > If you need a data frame instead of a table:
> >
> > as.data.frame.matrix(DataTable)
> >
> > --
NA 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&M University
> College Statio
Sent: Tuesday, 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
n
> Department of Anthropology
> Texas A&M 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: R
--
David L Carlson
Department of Anthropology
Texas A&M 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 datafra
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 : Fa
7 matches
Mail list logo