Description Usage Arguments Value See Also Examples
intersects alterations with a bed file of reference assembly gap and removes regions that overlap, by default, at least 75% with one of these gaps. This has proven to be a reliable indicator of false-positive calls.
1 | removeGapSpanningSegments(segs,rdo,maxOverlap=0.75,gapExpansion=1.0)
|
rdo |
a readDepth object created with new("rdObject") and filled with read counts using the getReadDepth() command (optionally corrected first) |
segs |
a data frame of altered segments returned by cnSegments() or cnSegments.paired(), then filtered to contain only alterations by getAlts(). |
maxOverlap |
if a segment overlaps at least this much with a gap, it will be removed. |
gapExpansion |
expand each gap feature by this fraction before doing gap filtering. A value of 1.3 would expand each gap by 30 |
returns a dataframe with 5 columns: chr start stop num.probes copynumber
'readDepth'
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #create a rdObject, set bin params
# x <- new("rdObject")
#fill the bins with reads
# x.reads <- readDepth(x)
#do gc correction on the read counts
# x.gcCorr <- rd.gcCorrect(x)
#return regions of CN gain and loss
# segs <- rd.cnSegments(x.gcCorr)
#get alterations
# alts = getAlts(segs,rdo)
#filter them
# alts = removeGapSpanningSegments(segs,rdo,maxOverlap=0.75)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.