Closed:Interpreting R code with GRanges object
1
0
Entering edit mode
Haiying.Kong ▴ 110
@haiyingkong-9254
Last seen 5.0 years ago
Germany

This is part of code in   cn.mops:::referencecn.mops

                        ir <- c(ir,IRanges(start(inputChr)[
                                                segDfSubsetChr$start],
                                        end(inputChr)[segDfSubsetChr$end]))
                        irCNVR <- c(irCNVR,IRanges(start(inputChr)[
                                                start(cnvrRChr)],
                                        end(inputChr)[end(cnvrRChr)]))

  I tried very hard to understand, but this is just impossible for me. I asked developer, but couldn't get response.

  inputChr is GRanges object, segDfSubsetChr is data frame.

  In any case, start and end are chromosome location. How can these be used as index for vector?

 

GRanges • 85 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 892 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6