s-news
[Top] [All Lists]

data frame row calculations

To: <s-news@lists.biostat.wustl.edu>
Subject: data frame row calculations
From: "Khan, Sohail" <khan@cshl.edu>
Date: Thu, 30 Nov 2006 14:59:19 -0500
Thread-index: AccUugW+ttW6BFDDSxy5X5JK9ltsdA==
Thread-topic: data frame row calculations
Dear list,

I have a large data frame as follows:

Ids     start   end
A       1250    1500
B       4500    7540
C       9875    1254

I would to select the rows where the difference between the "end" and "start" 
is between 100-2000
Thanks .


Sohail Khan
Scientific Programmer
COLD SPRING HARBOR LABORATORY
Genome Research Center
500 Sunnyside Boulevard
Woodbury, NY 11797
(516)422-4076


<Prev in Thread] Current Thread [Next in Thread>
  • data frame row calculations, Khan, Sohail <=