[BioC] extracting specific columns in R

Fatemehsadat Seyednasrollah fatsey at utu.fi
Wed Aug 15 14:11:12 CEST 2012


Hello all,

I have a text tab delimitated file from 100 biological samples with the names of samples as the names of columns.
What is the memory efficient way of extracting only some specific columns(samples) and working on them?
Should I make a new file of that and work with the new file like :
new <- read.table (myfile, header = T ) [ , c(column names)]

and then write this new to a new file?
Thank you in advance


More information about the Bioconductor mailing list