Description Usage Arguments Value See Also Examples
View source: R/rd.cnSegments.R
merges segments if they are adjacent and both gains or losses (useful for some types of plotting)
1 | mergeSegs(segs,rdo)
|
segs |
a data frame that is the result of calling rd.cnSegments |
rdo |
a readDepth object created with new("rdObject") |
a data frame containing merged segments of CN gain and loss and all intervening normal segments
'rd.cnSegments'
1 2 3 4 5 | ##get regions of CN gain and loss
# segs <- rd.cnSegments(x)
##extract just the gains and losses
# mergedSegs <- mergeSegs(segs,x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.