Hi,

Suppose I have the following tabular data:


1729_at | TRADD | TNFRSF1A-associated via death domain | protein-coding
1773_at | FNTB | farnesyltransferase, CAAX box, beta | protein-coding
177_at | PLD1 | phospholipase D1, phosphatidylcholine-specific | protein-coding


What is the right separator used for read.table function?

I tried this:

dat <- read.table("geo2geneinfo_bymodel.txt", sep = "|")
print(dat)

It doesn't seem to work. It flattens the table above into just two columns
meaning only contain $V1 and $V2.

sep=" | "  also won't work.

Please advice.


-- 
Gundala Viswanath

______________________________________________
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