On Sun, Oct 10, 2010 at 3:29 PM, Alison Waller wrote:
> Thanks Gabor and Jeffrey,
>
> and thanks for explaining the differences. I think I'll go with Jeffery's
> as I think I want entries for COGs with no pathway.
>
My second post does handle that case.
--
Statistics & Software Consulting
GKX
Thanks Gabor and Jeffrey,
and thanks for explaining the differences. I think I'll go with
Jeffery's as I think I want entries for COGs with no pathway.
Alison
On 10-Oct-10, at 8:59 PM, Jeffrey Spies wrote:
sapply(dat, function(x){
tmp<-unlist(strsplit(x, '\t', fixed=T))
out <- list(t
On Sun, Oct 10, 2010 at 2:59 PM, Jeffrey Spies wrote:
> To get just the list you wanted, Gabor's solution is more elegant, but
> here's another using the apply family. First, your data:
>
> dat <-
> scan(file="/g/bork8/waller/test_COGtoPath.txt",what="character",sep="\n")
>
> I expect dat to be
To get just the list you wanted, Gabor's solution is more elegant, but
here's another using the apply family. First, your data:
dat <- scan(file="/g/bork8/waller/test_COGtoPath.txt",what="character",sep="\n")
I expect dat to be a vector of strings where each string is a line of
values separated
On Sun, Oct 10, 2010 at 11:40 AM, Alison Waller wrote:
> Hi all,
>
> I have a large table mapping thousands of COGs(groups of genes) to pathways.
> # Ex
> COG0001 patha pathb pathc
> COG0002 pathd pathe
> COG0003 pathe pathf pathg pathh
> ##
>
> I would like to combine this information
5 matches
Mail list logo