getBPnum: Get counts of brekpoints per 10Mb

View source: R/cnsignature_functions.R

getBPnumR Documentation

Get counts of brekpoints per 10Mb

Description

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

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

Usage

getBPnum(abs_profiles, chrlen)

getOscilation(abs_profiles, chrlen)

Arguments

abs_profiles

absolute copy-number profiles

chrlen

chromosome length

Value

Matrix with counts of break points per 10Mb per sample

Matrix with length of chains of oscilating copy numbers

Examples

profiles<-getProfiles(segcn=cells_segcn,
    samples=unique(cells_segcn$sample)[1:4])
osCN<-getOscilation(profiles,CNpare:::chrlen)

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