Entering edit mode
Benilton Carvalho
★
4.3k
@benilton-carvalho-1375
Last seen 4.5 years ago
Brazil/Campinas/UNICAMP
Hi guys,
Given I have two objects as below:
mydata <- GRanges('chr9', IRanges(37902608, 69267842), info1=1, info2=2) centromere <- GRanges('chr9', IRanges(46200000, 60800000)) setdiff(mydata, centromere)
How do I get the result of setdiff
, but keeping the info1
and info2
fields from mydata?
Many thanks, benilton