View source: R/quantifydiff_functions.R
getUnifiedCN | R Documentation |
This function generates a vector with copy number values of each new segment, which has been defined using getNewSegments function. This function in used in unifySegments function, where unified copy number values in each new chromosome segments is obtained to generate a unified copy number table
getUnifiedCN(new_seg, data)
new_seg |
dataframe defining the new unified segments in a specific chromosome |
data |
dataframe with original segments of the sample in a specific chromosome |
dataframe with unified segment tables
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=250000) new_cn<-getUnifiedCN(new_seg,posSeg[posSeg$chromosome==1,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.