[R] Query about extracting subsets from a table

2007-01-23 Thread lalitha viswanath
Hi I am trying to process tabular data as follows: Data in the input file is of the form genome1 genome2 tree-dist log10escore Genome1 and genome2 are alphabetic. Tree-dist and log10escore are numeric. I wish to extract only those rows from this table where the log10escore is less than -3. d

Re: [R] Query about extracting subsets from a table

2007-01-23 Thread Marc Schwartz
On Tue, 2007-01-23 at 09:28 -0800, lalitha viswanath wrote: > Hi > I am trying to process tabular data as follows: > > Data in the input file is of the form > > genome1 genome2 tree-dist log10escore > > Genome1 and genome2 are alphabetic. > Tree-dist and log10escore are numeric. > > I wish to e

Re: [R] Query about extracting subsets from a table

2007-01-23 Thread Chuck Cleland
lalitha viswanath wrote: > Hi > I am trying to process tabular data as follows: > > Data in the input file is of the form > > genome1 genome2 tree-dist log10escore > > Genome1 and genome2 are alphabetic. > Tree-dist and log10escore are numeric. > > I wish to extract only those rows from this t

Re: [R] Query about extracting subsets from a table

2007-01-23 Thread jim holtman
Here is how you can do the extraction back to the original input: data <- data[ data$log10escore < -3, ] On 1/23/07, lalitha viswanath <[EMAIL PROTECTED]> wrote: > Hi > I am trying to process tabular data as follows: > > Data in the input file is of the form > > genome1 genome2 tree-dist log10es