Re: [R] fusion of overlapping intervals

2012-11-05 Thread arun
],fun1(x rownames(res)<-1:nrow(res)  colnames(res)<-colnames(dat1)  res #  chr start end #1   a 5  10 #2   a    30 101 #3   b    70 140 A.K. - Original Message ----- From: Hermann Norpois To: r-help@r-project.org Cc: Sent: Monday, November 5, 2012 12:14 PM Subje

Re: [R] fusion of overlapping intervals

2012-11-05 Thread Martin Morgan
On 11/05/2012 09:14 AM, Hermann Norpois wrote: Hello, I have start and end coordinates from different experiments (DNase hypersensitivity data) and now I would like to combine overlapping intervals. For instance (see my test data below) (2) 30-52 and (3) 49-101 are combined to 30-101. But 49-101

[R] fusion of overlapping intervals

2012-11-05 Thread Hermann Norpois
Hello, I have start and end coordinates from different experiments (DNase hypersensitivity data) and now I would like to combine overlapping intervals. For instance (see my test data below) (2) 30-52 and (3) 49-101 are combined to 30-101. But 49-101 and 70-103 would not be combined because they ar