[R] BLAST search from R

2009-06-13 Thread Nigel Birney
Hi, I have FASTA sequences and would like to do BLAST search of all against all. Can I do this in R? thanks, Nigel -- View this message in context: http://www.nabble.com/BLAST-search-from-R-tp24011761p24011761.html Sent from the R help mailing list archive at Nabble.com.

[R] THE EQUIVALENT OF SQL INNER TABLE JOIN IN R

2009-04-26 Thread Nigel Birney
Hello all, Apologize for the newbie question. What's the easiest way to do a SQL inner table join in R? Say I have a table containing column names A, B, C and another which has columns named C, D, E. I would like to do an inner table join on C and produce a table A, B, C, D, E. thanks a lot,

[R] Unable to re-import a table that was just exported to a file

2009-04-26 Thread Nigel Birney
Hi all, I am saving a program's output to a file to be read by another algorithm. But somehow such a simple operation (the reading) fails. I get: Error in read.table(a_corr_data.txt, sep = ,, col.names = T, row.names = F) : more columns than column names Here is the write statement:

[R] Cannot clean infinite values

2009-04-26 Thread Nigel Birney
Hello all, I have to import numeric data from file but found it contains Infinite values which need to be eliminated. I tried to replace them in this way: data[which(data==-Inf)] - -0.3 data[which(data==+Inf)] - 0.3 But, somehow, the Infinite values stayed there. Any

[R] generic genotype calling algorithm?

2009-04-20 Thread Nigel Birney
Hi, I have Agilent and Illumina SNP data. That's the only thing I know about the files - there seem to be no version specification in any of them. Is there a generic genotype calling algorithm that I could try to use on these datasets? thanks, N. -- View this message in context:

[R] Interaction of a dynamic number of factors

2009-04-13 Thread Nigel Birney
Hi, I have a dynamic table structure consisting of N factors (e.g. columns Factor_1, Factor_2,..Factor_N). I want to construct a table that has as rows the level combinations of factors F_1..F_n-1, and as columns the levels of the factor Fn. The cells of the table would contain the number of