getChangepointCN: Get difference in copy number between adjacent segments

View source: R/cnsignature_functions.R

getChangepointCNR Documentation

Get difference in copy number between adjacent segments

Description

Helper function for extractCopynumberFeatures. Approach developed by Geoff Macintyre et al. 2018

Usage

getChangepointCN(abs_profiles)

Arguments

abs_profiles

absolute copy-number profiles

Value

Matrix with difference in copy number between adjacent segments

Examples

profiles<-getProfiles(segcn=cells_segcn,
    samples=unique(cells_segcn$sample)[1:4])
changepoint<-getChangepointCN(profiles)

macintyrelab/CNpare documentation built on April 15, 2022, 4:46 a.m.