Re: [R] Convert to integers all entries of a table (for DESeq2)

2014-05-14 Thread arun
.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

Re: [R] Convert to integers all entries of a table (for DESeq2)

2014-05-14 Thread Alicia R . Pérez-Porro
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

Re: [R] Convert to integers all entries of a table (for DESeq2)

2014-05-12 Thread arun
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

Re: [R] Convert to integers all entries of a table (for DESeq2)

2014-05-12 Thread David L Carlson
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

[R] Convert to integers all entries of a table (for DESeq2)

2014-05-12 Thread Alicia R . Pérez-Porro
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