Displaying 2 results from an estimated 2 matches for "phosphatidylcholine".
2008 May 29
1
Separator argument in read.table
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 a...
2009 Dec 17
2
some help regarding combining columns from different files
Dear all,
Here is my code which am using to combine 5th column from different data
sets.
Here is the function to do my job
genesymbol.append.file <-NULL
gene.column <- NULL
readGeneSymbol <- function(files,genesymbol.column=5){
for(i in fnames){
temp <- read.table(fnames,header=T,sep="\t",stringsAsFactors=F,quote="\"")