Dear All,
I have a text file, tab delimited, called "sample.txt",as follows:
ID_REF    382    GC_Score    Theta    R    B_Allele_Freq    Log_R_Ratio
200003    BB    0.9101527    0.9734979    0.8788951    1    0
200006    AB    0.6003323    0.4385073    2.033364    0.4850979    0.01553433

I have explored various options of the command: read.table, with one as:
read.table("sample.txt", na.strings="NA",as.is = TRUE)

However, everything that it reads in becomes a character. 

Could you please help me on this?
Best regards,
Chee

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to