.00 0.00 0.00 0.00
>c14898_g1_i1 0.00 2.00 0.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
>c105146_g1_i2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 1.00"
>datx <- read.table(text=a, header=TRUE, stringsAsFactors=FALSE)
>
>dati <- data.frame(datx$transcript_ID, sapply(datx[,-1], as.int
pt_ID, sapply(datx[,-1], as.integer),
> stringsAsFactors=FALSE)
>
> -------------
> David L Carlson
> Department of Anthropology
> Texas A&M University
> College Station, TX 77840-4352
>
>
> -Original Message-
> From: r-hel
Alicia R. Pérez-Porro
Sent: Monday, May 12, 2014 10:38 AM
To: r-help@r-project.org
Subject: [R] Convert to integers all entries of a table (for DESeq2)
Dear R users,
I have a .txt table that looks like:
transcript_ID C3 C4 CRL_2APR10 CRL_1_15JUL11
CRL_2_15JUL11 C1 CRL_6OCT1
f Alicia R. Pérez-Porro
Sent: Monday, May 12, 2014 10:38 AM
To: r-help@r-project.org
Subject: [R] Convert to integers all entries of a table (for DESeq2)
Dear R users,
I have a .txt table that looks like:
transcript_ID C3C4 CRL_2APR10 CRL_1_15JUL11
CRL_2_15JUL11 C1 CRL
Dear R users,
I have a .txt table that looks like:
transcript_ID C3C4 CRL_2APR10 CRL_1_15JUL11
CRL_2_15JUL11 C1 CRL_6OCT11c CRL_3DEC11 CRL_13DEC11b
LRV_A LRV_B
c101054_g1_i2 15.53 231.47 131.86 218.69 16.70 0.00 587.79 0.00 624.32 10.00
6.00
c96583_g1_i2 0.00 10
5 matches
Mail list logo