Displaying 2 results from an estimated 2 matches for "all77ind".
2011 Jan 21
3
How to find data that includes certain values
I am trying to return an index for a data set by searching using filenames.
The name may be ANG_AUT.N.0734C70411A-1_1sA_0734C70411A.fasta, but i'd just
like to search it using the term "0734C70411" as the file may be
0734C70411A or 0734C70411C or 0734C70411D
Any way to do this other than doing something like this. where 0734C70411A
is part of matrix list[,8]
2011 Jan 22
0
how to call BayesX in R to see the graph
...glob2rx("*77*"), df$var1)
myIndexes
#find actual values of seach above
myValu <- grep( glob2rx("*77*"), df$var1, value=TRUE)
myValu
#find all '77' in entire dataframe
all77 <- lapply(df, function(x)grep( glob2rx("*77*"), x, value=TRUE))
all77
#OR indexes
all77ind <-lapply(df, function(x)grep( glob2rx("*77*"), x))
all77ind
Hope that helps
With best regards
Denis
------------------------------
Message: 77
Date: Sat, 22 Jan 2011 03:03:08 +0100
From: jochen laubrock <jochen.laubrock@gmail.com>
To: r-help@r-project.org
Subject: [R] lm(y...