View source: R/cnsignature_functions.R
getCentromereDistCounts | R Documentation |
Helper function for extractCopynumberFeatures. Approach developed by Geoff Macintyre et al. 2018
getCentromereDistCounts(abs_profiles, centromeres, chrlen)
abs_profiles |
absolute copy-number profiles |
centromeres |
centromere positions |
chrlen |
chromosome length |
Matrix with breakpoint count per chromosome arm
profiles<-getProfiles(segcn=cells_segcn, samples=unique(cells_segcn$sample)[1:4]) gaps<-CNpare:::gaps centromeres<-centromeres<-gaps[gaps[,8]=="centromere",] bpchrarm<-getCentromereDistCounts(profiles,centromeres,CNpare:::chrlen)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.