View source: R/quantifydiff_functions.R
| getNewSegments | R Documentation |
This function creates unified and collapse segments within a window distance. This function in used in unifySegments function, where a table with new segments per chromosome is generated for generating a unified copy number table.
getNewSegments(ref, exp, window)
ref |
dataframe with segments of the reference sample |
exp |
dataframe with segments of the experimental model |
window |
boundary margin for smoothing segments. Default is 100000 |
dataframe with new segments in a specific chromosome
posSeg=cells_segcn[cells_segcn$sample=="OVKATE",]
data=cells_segcn[cells_segcn$sample=="OV-90",]
new_seg<-getNewSegments(ref=posSeg[posSeg$chromosome==1,],
exp=data[data$chromosome==1,],window=100000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.